ToolJet/db/migrate/20210412091048_create_app_versions.rb
2021-04-12 14:52:51 +05:30

11 lines
270 B
Ruby

class CreateAppVersions < ActiveRecord::Migration[6.1]
def change
create_table :app_versions, id: :uuid do |t|
t.references :app, null: false, foreign_key: true, type: :uuid
t.string :name
t.json :definition
t.timestamps
end
end
end