lib/sequel/schema/schema_sql.rb in sequel-0.4.4.2 vs lib/sequel/schema/schema_sql.rb in sequel-0.4.5

- old
+ new

@@ -113,9 +113,11 @@ "ALTER TABLE #{table} DROP COLUMN #{literal(op[:name])}" when :rename_column "ALTER TABLE #{table} RENAME COLUMN #{literal(op[:name])} TO #{literal(op[:new_name])}" when :set_column_type "ALTER TABLE #{table} ALTER COLUMN #{literal(op[:name])} TYPE #{op[:type]}" + when :set_column_default + "ALTER TABLE #{table} ALTER COLUMN #{literal(op[:name])} SET DEFAULT #{literal(op[:default])}" when :add_index index_definition_sql(table, op) when :drop_index "DROP INDEX #{default_index_name(table, op[:columns])}" else