First implementation of database migration and permission_modify
migration