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

7 lines
164 B
MySQL
Raw Normal View History

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