mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-21 20:13:05 +00:00
* Drop unique constraint for site.name (fixes #4329) * working down migration
This commit is contained in:
parent
4163e0465e
commit
53147596b4
2 changed files with 6 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE site
|
||||
ADD CONSTRAINT site_name_key UNIQUE (name);
|
||||
|
3
migrations/2024-01-02-094916_site-name-not-unique/up.sql
Normal file
3
migrations/2024-01-02-094916_site-name-not-unique/up.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE site
|
||||
DROP CONSTRAINT site_name_key;
|
||||
|
Loading…
Reference in a new issue