scinote-web/db/migrate/20190426185413_create_marvin_js_assets.rb
Anton Ignatov f80d881847 Fix markup
2019-04-28 19:11:41 +02:00

15 lines
331 B
Ruby

# frozen_string_literal: true
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