]> git.agnieray.net Git - galette.git/commit
Drop group name uniqueness at a same level; closes #366
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 29 Sep 2012 14:01:50 +0000 (16:01 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 11 Nov 2021 10:46:23 +0000 (11:46 +0100)
commitcab1f04e4519cb4eb03ce82657a3028c650964ce
treef8b30721753f35d023aaa78b5bcc8af375049c32
parentfcfd079f79ba1e646d6e0e833e81ec9ea8f2688e
Drop group name uniqueness at a same level; closes #366

Change the query so it looks for unique groups at the same level only
Drop uniqueness constraint in DB
Check uniqueness on group creation/edition
Add tests
galette/install/scripts/mysql.sql
galette/install/scripts/pgsql.sql
galette/install/scripts/upgrade-to-0.96-mysql.sql
galette/install/scripts/upgrade-to-0.96-pgsql.sql
galette/lib/Galette/Entity/Group.php
galette/lib/Galette/Repository/Groups.php
tests/Galette/Entity/tests/units/Group.php
tests/Galette/Repository/tests/units/Groups.php