Daniel Lockyer
b7b4f8d1d1
Added migration utils for removing a permission
...
- this will drop the link between a role and a permission, and then
delete the permission
- required minor refactoring to aid in creating migrations for dropping
the links and permission
2022-05-10 13:21:26 +01:00
Daniel Lockyer
bf28721844
De-duped MIGRATION_USER
constant across migration utils
...
- we shouldn't declare this in more than one place, even if it is a
weird concept anyway
2022-05-10 13:05:47 +01:00
Daniel Lockyer
1c440e14b1
Split apart migration utils into separate files
...
- this should help organize the code a little better and frees us up to
turn it into a separate package in the future
2022-05-10 13:05:47 +01:00
Daniel Lockyer
892408e1cd
Moved migration utils.js to subfolder
...
- this helps makes way for splitting the file apart to make the utils
easier to write
2022-05-10 13:05:47 +01:00