mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-13 12:47:11 +08:00
9 lines
180 B
Ruby
9 lines
180 B
Ruby
class CreateAssets < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :assets do |t|
|
|
|
|
t.timestamps null: false
|
|
end
|
|
add_index :assets, :created_at
|
|
end
|
|
end
|