-- Allow tenant_tables.tenant_id to be optional
ALTER TABLE tenant_tables
    ALTER COLUMN tenant_id DROP NOT NULL;
-- For MySQL compatibility
ALTER TABLE tenant_tables
    MODIFY COLUMN tenant_id INTEGER NULL;
