mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +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
|