lib/pg_trunk/operations/domains/change_domain.rb
# Methods to populate `constraints` from the block
Methods to populate `constraints` from the block
Methods to populate ` constraints ` from the block
def change_constraints
      constraints.map do |c|
        "ALTER DOMAIN #{name.to_sql} #{c.to_sql};"
      end
    end
def change_constraints constraints . map do | c | "ALTER DOMAIN #{name.to_sql} #{c.to_sql};" end end
Methods to populate `constraints` from the block
Methods to populate ` constraints ` from the block