apollo-backend/migrations/000002_create_devices.up.sql

11 lines
246 B
MySQL
Raw Normal View History

-- Table Definition ----------------------------------------------
CREATE TABLE devices (
id SERIAL PRIMARY KEY,
apns_token character varying(100) UNIQUE,
sandbox boolean,
active_until integer,
grace_period_until integer
);