lib/pgslice/cli/add_partitions.rb in pgslice-0.4.8 vs lib/pgslice/cli/add_partitions.rb in pgslice-0.5.0

- old
+ new

@@ -25,10 +25,10 @@ end queries = [] if needs_comment - queries << "COMMENT ON TRIGGER #{quote_ident(trigger_name)} ON #{quote_table(table)} is 'column:#{field},period:#{period},cast:#{cast}';" + queries << "COMMENT ON TRIGGER #{quote_ident(trigger_name)} ON #{quote_table(table)} IS 'column:#{field},period:#{period},cast:#{cast}';" end # today = utc date today = round_date(Time.now.utc.to_date, period)