Add postgresql support.
Drop thinking_sphinx and start using pg_search.
Add code attribute to Tenant.
Implement multi tenancy.
Disable User.person validation.
Make creating tenants more robust.
Use tenant namespace when persisting uploads.
Append bookyt.ch to code field in tenant admin form.
Implement apartment strategy only switching db if it exists.
Use right aligned text for code field in tenant form.
Add some translations for sysadmin users.
Refactor tenant role as instances.
Use db_name column to detect db for subdomain.
Fix elevator to use Admin:: Tenant.
Re-enable some validations on Tenant.
Whitespace fixes in db/schema.rb
Add validation for Admin::Tenant#db_name.
Only validate some tenant fields on update, not create.
Improve tenant admin view.
Refactor setup tenant form.