Fix bug with database migration, and  and  css variables