4 lines
171 B
Plaintext
Raw Normal View History

// Delete the `<%= attribute %>` column with unique constraint.
2016-04-19 17:07:21 +02:00
table.dropUnique('<%= tableName.toLowerCase() %>_<%= attribute %>_unique').dropColumn('<%= attribute %>')