<?php

return <<<'SQL'
CREATE TABLE tenants (
    id CHAR(36) NOT NULL PRIMARY KEY,
    tenant_key VARCHAR(120) NOT NULL,
    name VARCHAR(255) NOT NULL,
    status VARCHAR(50) NOT NULL DEFAULT 'active',
    created_at DATETIME NOT NULL,
    updated_at DATETIME NOT NULL,
    UNIQUE (tenant_key)
);
SQL;
