aboutsummaryrefslogtreecommitdiff
path: root/deploy/tags.sql
blob: 3bee8ede6c881bab06f07aec47d3635dfaab43c1 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- Deploy diary:tags to pg
-- requires: schema

BEGIN;

SET search_path to diary;

CREATE TABLE tags(
  id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
  name varchar UNIQUE NOT NULL
);

COMMIT;