apollo-backend/migrations/000002_create_devices.up.sql
2022-05-21 12:44:21 -04:00

10 lines
289 B
SQL

-- Table Definition ----------------------------------------------
CREATE TABLE devices (
id SERIAL PRIMARY KEY,
apns_token character varying(100) UNIQUE,
sandbox boolean,
expires_at timestamp without time zone,
grace_period_expires_at timestamp without time zone
);