Migrate database to add new filters in database.
Separate db_init from db_create.
Fix views creating in db_init