moviewyrm/bookwyrm
Joel Bradshaw ed83032330 Fix migration for if db has multiple empty emails
If the database has multiple users with an empty email column, this
migration will fail because multiple empty strings break the unique
constraint.

A fresh database won't have this problem because it won't have any
legacy users with empty strings instead of NULL, but for existing
databases we need to convert the empty strings to NULL so they don't run
awry of the unique constraint.
2021-01-24 16:39:26 -08:00
..
activitypub Update edition ranks when work is saved 2021-01-11 10:02:49 -08:00
connectors Set default edition on bookwyrm import 2021-01-11 10:25:34 -08:00
management/commands move some code around for readability 2020-12-31 16:30:04 -08:00
migrations Fix migration for if db has multiple empty emails 2021-01-24 16:39:26 -08:00
models Merge branch 'main' into progress_update 2021-01-19 23:49:35 -08:00
static puts @'mentions directly in compose box 2021-01-19 16:16:22 -08:00
templates Consistent progress type form element 2021-01-22 13:00:20 -08:00
templatetags puts @'mentions directly in compose box 2021-01-19 16:16:22 -08:00
tests Merge pull request #354 from cincodenada/progress_update 2021-01-21 16:57:16 -08:00
utils Fixes username regex 2021-01-06 16:01:13 -08:00
views don't need the showprogress get param any longer 2021-01-22 14:33:03 -08:00
__init__.py rename main code directory 2020-09-17 13:30:54 -07:00
admin.py Show federated servers and connectors in admin 2020-10-31 12:45:39 -07:00
broadcast.py Add BookWyrm user-agent to http requests 2020-12-30 12:36:50 +01:00
context_processors.py disable some warnings 2020-12-12 18:13:00 -08:00
emailing.py minor style fixes 2020-10-16 19:13:18 -07:00
forms.py Create goal with privacy 2021-01-16 11:34:19 -08:00
goodreads_import.py Removes outgoing and view_actions 2021-01-13 13:36:01 -08:00
incoming.py Removes outgoing and view_actions 2021-01-13 13:36:01 -08:00
sanitize_html.py Allow markdown in html fields 2020-12-19 18:54:56 -08:00
settings.py Set application version number in settings 2020-12-30 11:55:13 -08:00
signatures.py Removes test state of signatures 2020-12-04 08:42:34 -08:00
status.py removes unneeded imports 2020-12-12 18:06:48 -08:00
tasks.py Updates migrations 2020-09-21 08:10:37 -07:00
urls.py Merge branch 'main' into progress_update 2021-01-19 23:49:35 -08:00
wellknown.py Set application version number in settings 2020-12-30 11:55:13 -08:00
wsgi.py Updates migrations 2020-09-21 08:10:37 -07:00