Skip to content

Commit 7f7fe95

Browse files
authored
Merge pull request #316 from developmentseed/v1/fix/drop-hashtag-uniqueness
Drop hashtag uniqueness
2 parents 29e4809 + d452992 commit 7f7fe95

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)