Skip to content

Commit d452992

Browse files
committed
Drop hashtag uniqueness
1 parent 29e4809 commit d452992

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
exports.up = function (knex) {
2+
return knex.schema.alterTable('team', function (table) {
3+
table.dropUnique('hashtag')
4+
})
5+
}
6+
7+
exports.down = function (knex) {
8+
return knex.schema.alterTable('team', function (table) {
9+
table.unique('hashtag')
10+
})
11+
}

0 commit comments

Comments
 (0)