moviewyrm/bookwyrm/migrations
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
..
0001_initial.py Remove deleted util file from migrations 2020-12-12 20:18:03 -08:00
0002_auto_20200219_0816.py Updates migrations 2020-09-21 08:10:37 -07:00
0003_auto_20200221_0131.py Updates migrations 2020-09-21 08:10:37 -07:00
0004_tag.py Updates migrations 2020-09-21 08:10:37 -07:00
0005_auto_20200221_1645.py Updates migrations 2020-09-21 08:10:37 -07:00
0006_auto_20200221_1702_squashed_0064_merge_20201101_1913.py Remove deleted util file from migrations 2020-12-12 20:18:03 -08:00
0007_auto_20201103_0014.py migrations are fucked 2020-11-02 16:17:48 -08:00
0008_work_default_edition.py Migrate default edition field to work model 2020-11-04 11:27:49 -08:00
0009_shelf_privacy.py Adds privacy setting to shelves 2020-11-10 13:39:58 -08:00
0010_importjob_retry.py Allow import retry 2020-11-13 09:02:41 -08:00
0011_auto_20201113_1727.py fixes import matching with local books 2020-11-13 09:59:57 -08:00
0012_attachment.py Adds alt text to status images 2020-11-24 11:44:13 -08:00
0012_progressupdate.py ProgressUpdate doesn't need its own date field 2020-11-25 23:03:32 -08:00
0013_book_origin_id.py Merge migrations manually 2020-11-24 13:42:47 -08:00
0014_auto_20201128_0118.py Makes attachment Images a serializable class 2020-11-27 17:20:01 -08:00
0014_merge_20201128_0007.py Merge migration branches 2020-11-27 16:08:04 -08:00
0015_auto_20201128_0349.py handle image attachments recursively 2020-11-27 20:11:46 -08:00
0015_auto_20201128_0734.py Add a couple forgotten files 2020-11-28 00:36:01 -08:00
0016_auto_20201129_0304.py Remove deleted util file from migrations 2020-12-12 20:18:03 -08:00
0016_auto_20201211_2026.py Expand site settings and add footer 2020-12-11 12:31:02 -08:00
0017_auto_20201130_1819.py Remove outdated user fields 2020-11-30 11:40:04 -08:00
0017_auto_20201212_0059.py Merge branch 'main' into switch-edition 2020-12-11 16:59:59 -08:00
0018_auto_20201130_1832.py Remove outdated user fields 2020-11-30 11:40:04 -08:00
0019_auto_20201130_1939.py Updates to_model to use fields 2020-12-03 12:35:57 -08:00
0020_auto_20201208_0213.py Starts getting reverse fields working for deserialization 2020-12-07 18:28:42 -08:00
0021_merge_20201212_1737.py Creates merge migration 2020-12-12 09:38:05 -08:00
0022_auto_20201212_1744.py Use name field only for author name 2020-12-12 09:53:21 -08:00
0023_auto_20201214_0511.py Adds migration for privacy field 2020-12-13 21:11:53 -08:00
0023_merge_20201216_0112.py Merge migration 2020-12-15 17:53:20 -08:00
0024_merge_20201216_1721.py Merge branch 'main' into switch-edition 2020-12-16 09:22:04 -08:00
0025_auto_20201217_0046.py Sanitize incoming html 2020-12-16 16:47:23 -08:00
0026_status_content_warning.py Adds cw field 2020-12-16 19:20:15 -08:00
0027_auto_20201220_2007.py user's name and bio field are optional 2020-12-20 12:09:19 -08:00
0028_remove_book_author_text.py Generate author_text field dynamically 2020-12-21 12:10:42 -08:00
0029_auto_20201221_2014.py Remove sync fields and share fields between book and author 2020-12-21 12:17:18 -08:00
0030_auto_20201224_1939.py Makes registration user/localname fields more sensible 2020-12-24 11:39:57 -08:00
0031_auto_20210104_2040.py Use uploaded logos in templates 2021-01-04 12:47:10 -08:00
0032_auto_20210104_2055.py Makes more about instance text customizable 2021-01-04 12:58:31 -08:00
0033_siteinvite_created_date.py Adds site invite created date 2021-01-05 11:38:03 -08:00
0034_importjob_complete.py Adds field on import job to check if job completed 2021-01-07 08:08:12 -08:00
0035_edition_edition_rank.py Fix error in migrations 2021-01-13 18:37:05 -08:00
0036_annualgoal.py Create goal with privacy 2021-01-16 11:34:19 -08:00
0037_auto_20210118_1954.py Fix migration for if db has multiple empty emails 2021-01-24 16:39:26 -08:00
0038_auto_20210119_1534.py Adds migration 2021-01-19 07:38:12 -08:00
0039_merge_20210120_0753.py Regenerate merge migration 2021-01-19 23:53:42 -08:00
0040_auto_20210122_0057.py Makes pages/percents toggle-able in sidebar 2021-01-22 09:19:02 -08:00
__init__.py rename main code directory 2020-09-17 13:30:54 -07:00