mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-08 07:55:14 +08:00
13 lines
300 B
Ruby
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
|