scinote-web/db/migrate/20190426185413_create_marvin_js_assets.rb
2019-04-26 22:59:38 +02:00

13 lines
300 B
Ruby

class CreateMarvinJsAssets < ActiveRecord::Migration[5.1]
def change
create_table :marvin_js_assets do |t|
t.bigint :team_id
t.string :description
t.references :object, polymorphic: true
t.timestamps
end
change_column :marvin_js_assets, :id, :bigint
end
end