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

7 lines
182 B
MySQL
Raw Normal View History

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