Make database dirty if it's been migrated

- Group#load does not call hooks anymore