blob: 8186248e67603d458bf5fda7625b0466795becf7 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
-- Deploy diary:tags to pg
-- requires: schema
BEGIN;
SET search_path to diary;
CREATE TABLE tags(
id UUID PRIMARY KEY,
name TEXT UNIQUE NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
COMMIT;
|