status-go/static
Andrea Maria Piana 6f088bb5c5 Fix communities migration
In some instances the communities migration would be skipped but not
marked as `dirty`.

This commit addresses the issue by:
- Making sure that if dirty is set the migration is not skipped but
replayed
- If the version is on the communities migration and dirty is false, we
check for the presence of the communities table. If not present we
replay the communities migration.
- Make community_id field in user_messages nullable

It also removes all the `down` migration, as we can't use them
effectively, as explained in the README.md added.
2021-01-08 08:43:16 +01:00
..
keys Streamline configuration in status-go. Part of #1180 (#1183) 2018-09-13 18:31:29 +02:00
mailserver_db_migrations Add postgres 2019-05-15 11:01:34 +02:00
bindata.go Fix communities migration 2021-01-08 08:43:16 +01:00
static.go migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00