Plume/migrations
Baptiste Gelez 61b6ceed92
Add some constraint at database level (#342)
* Add some constraint at database level

Fixes #79 and should fix #201 and #113 as well

* Fix tests

Delete duplicated data before adding constraints (only with Postgres, there is no way to do it with Sqlite with complex constraints like the one we are using)

Remove the constraint on media path

* We don't need to drop the media unique constraint anymore

Because we deleted it
2018-12-09 18:44:26 +01:00
..
postgres Add some constraint at database level (#342) 2018-12-09 18:44:26 +01:00
sqlite Add some constraint at database level (#342) 2018-12-09 18:44:26 +01:00
.gitkeep Initial commit 2018-04-22 14:35:37 +01:00