8 lines
242 B
SQL
8 lines
242 B
SQL
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
|
|
|
CREATE TABLE directories (
|
|
id uuid PRIMARY KEY DEFAULT GEN_RANDOM_UUID(),
|
|
active boolean NOT NULL,
|
|
created_at timestamptz NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
updated_at timestamptz
|
|
);
|