Files
astuto/db/migrate/20240404153446_add_slug_to_o_auth.rb
2024-04-05 18:23:31 +02:00

8 lines
174 B
Ruby

class AddSlugToOAuth < ActiveRecord::Migration[6.1]
def change
add_column :o_auths, :slug, :string
add_index :o_auths, [:slug, :tenant_id], unique: true
end
end