7 lines
228 B
SQL
7 lines
228 B
SQL
CREATE TABLE IF NOT EXISTS communities (
|
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
name text NOT NULL,
|
|
slug text UNIQUE NOT NULL,
|
|
created_at timestamptz DEFAULT now()
|
|
);
|