Commit Graph

1 Commits

Author SHA1 Message Date
Baptiste Gelez
61b6ceed92
Add some constraint at database level ()
* Add some constraint at database level

Fixes  and should fix  and  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