2016-04-19 17:07:21 +02:00

4 lines
171 B
Plaintext

// Delete the `<%= attribute %>` column with unique constraint.
table.dropUnique('<%= tableName.toLowerCase() %>_<%= attribute %>_unique').dropColumn('<%= attribute %>')