ToolJet/db/migrate/20210519084741_create_folder_apps.rb
2021-05-19 14:42:10 +05:30

10 lines
294 B
Ruby

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