0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/data
Katharina Irrgang b48031fa0e 🎨 unique constraint for permission and role name (#7674)
refs #7494,  refs #7495 

I saw tests adding permissions and roles twice. (see screenshots)
That happened because the setup in the test was mis-used and there is no restriction for static resources to create duplicates.
With this PR i suggest to make name unique.
2016-11-09 15:02:49 +00:00
..
db utf8mb4 support (#7409) 2016-09-20 15:59:34 +01:00
export Error creation (#7477) 2016-10-06 13:27:35 +01:00
import 🎨 tidy up static id (owner, internal, external) usages (#7675) 2016-11-09 15:01:07 +00:00
importer Error creation (#7477) 2016-10-06 13:27:35 +01:00
meta Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
migration use migration runner for init db (#7502) 2016-10-11 13:37:11 +01:00
migrations knex-migrator v2 (#7605) 2016-11-07 11:39:49 +00:00
schema 🎨 unique constraint for permission and role name (#7674) 2016-11-09 15:02:49 +00:00
slack Error creation (#7477) 2016-10-06 13:27:35 +01:00
validation Use moment-timezone when using .tz() (#7653) 2016-10-31 14:44:24 +01:00
xml 🎨 replace process.env.NODE_ENV usages by config.get('env') (#7544) 2016-10-11 13:53:52 +01:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00