Files
archie/internal/infrastructure/postgres/migrations/0067_personal_token_meta.sql
T

12 lines
287 B
SQL

-- +goose Up
ALTER TABLE identity_subjects
ADD COLUMN name text NOT NULL DEFAULT '',
ADD COLUMN expires_at timestamptz,
ADD COLUMN last_used_at timestamptz;
-- +goose Down
ALTER TABLE identity_subjects
DROP COLUMN last_used_at,
DROP COLUMN expires_at,
DROP COLUMN name;