invitea/database/sqlc/migrations/001_schema.up.sql

7 lines
164 B
SQL

CREATE TABLE invites (
id INTEGER PRIMARY KEY,
code TEXT NOT NULL,
uses INTEGER NOT NULL,
total INTEGER,
expiration INTEGER
);