aboutsummaryrefslogtreecommitdiff
-- Deploy diary:tags to pg
-- requires: schema

BEGIN;

SET search_path to diary;

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

COMMIT;