Revision 29a52c6c
Added by Marek Hulán about 10 years ago
db/migrate/20140219183343_migrate_permissions.rb | ||
---|---|---|
# we need permissions to be seeded already
|
||
require Rails.root + 'db/seeds.d/20-permissions'
|
||
require Rails.root + 'db/seeds.d/11-permissions'
|
||
|
||
# Fake models to make sure that this migration can be executed even when
|
||
# original models changes later (e.g. add validation on columns that are not
|
Also available in: Unified diff
Fixes #5391 - Authorizer test should use testing permission
Also change order of seed so admin user can be saved and
existing Anonymous role is assigned.