demarches-normaliennes/db/migrate/20220520134041_enable_pgcrypto.rb
Martin cb890343ff feat(targeted_user_link): add targeted user link to wrap expert invitation in order to avoid access issue when the expert is connected with another account
feat(user.merge): ensure to merge user.targeted_user_link

Update app/models/targeted_user_link.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>

Update app/models/targeted_user_link.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>

Update app/models/targeted_user_link.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>

feat(db/create_targeted_user_links): ensure not null with fk
2022-05-31 14:50:31 +02:00

10 lines
224 B
Ruby

class EnablePgcrypto < ActiveRecord::Migration[6.1]
# see: https://pawelurbanek.com/uuid-order-rails -> use uuid for id
def up
enable_extension "pgcrypto"
end
def down
disable_extension "pgcrypto"
end
end