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