ToolJet/db/migrate/20210510191558_add_user_to_apps.rb
2021-05-11 00:53:57 +05:30

5 lines
149 B
Ruby

class AddUserToApps < ActiveRecord::Migration[6.1]
def change
add_reference :apps, :user, null: true, foreign_key: true, type: :uuid
end
end