demarches-normaliennes/db/migrate/20220520134041_enable_pgcrypto.rb
2024-08-22 09:26:48 +02:00

12 lines
255 B
Ruby

# frozen_string_literal: true
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