ToolJet/db/migrate/20210519084741_create_folder_apps.rb

11 lines
294 B
Ruby
Raw Normal View History

2021-05-19 09:12:10 +00:00
class CreateFolderApps < ActiveRecord::Migration[6.1]
def change
create_table :folder_apps, id: :uuid do |t|
t.references :folder, null: false, foreign_key: true, type: :uuid
t.references :app, null: false, foreign_key: true, type: :uuid
t.timestamps
end
end
end