Plume/plume-models
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
..
src Add some constraint at database level (#342) 2018-12-09 18:44:26 +01:00
tests Add unit tests for main model parts (#310) 2018-11-24 12:44:17 +01:00
Cargo.toml Upgrade plume dependencies (#332) 2018-12-07 21:00:12 +01:00