mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
10 lines
249 B
Ruby
10 lines
249 B
Ruby
class CreateZipExports < ActiveRecord::Migration
|
|
def change
|
|
create_table :zip_exports do |t|
|
|
t.references :user, index: true, foreign_key: true
|
|
t.timestamps null: false
|
|
end
|
|
|
|
add_attachment :zip_exports, :zip_file
|
|
end
|
|
end
|