mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 13:16:28 +08:00
10 lines
225 B
Ruby
10 lines
225 B
Ruby
class CreateTempFiles < ActiveRecord::Migration
|
|
def change
|
|
create_table :temp_files do |t|
|
|
t.string :session_id, null: false
|
|
|
|
t.timestamps null: false
|
|
end
|
|
add_attachment :temp_files, :file
|
|
end
|
|
end
|