scinote-web/db/migrate/20150715141810_create_assets.rb
2020-01-07 13:43:32 +01:00

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