1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-04-21 02:14:07 +00:00

Drop unique constraint for site.name (fixes ) ()

* Drop unique constraint for site.name (fixes )

* working down migration
This commit is contained in:
Nutomic 2024-01-03 18:47:39 +01:00 committed by GitHub
parent 4163e0465e
commit 53147596b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions
migrations/2024-01-02-094916_site-name-not-unique

View file

@ -0,0 +1,3 @@
ALTER TABLE site
ADD CONSTRAINT site_name_key UNIQUE (name);

View file

@ -0,0 +1,3 @@
ALTER TABLE site
DROP CONSTRAINT site_name_key;