class PgPartitions::SQL::Partition

Public Instance Methods

to_sql() click to toggle source
# File lib/pg_partitions/sql.rb, line 4
def to_sql
  "(LIKE #{table} INCLUDING ALL, CHECK (#{check})) INHERITS (#{table})"
end