react-code-dataset / goalert /migrate /migrations /20170726155056-twilio-sms-errors.sql
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
320 Bytes
-- +migrate Up
CREATE TABLE twilio_sms_errors (
phone_number TEXT NOT NULL,
error_message TEXT NOT NULL,
outgoing BOOLEAN NOT NULL,
occurred_at TIMESTAMP NOT NULL DEFAULT now()
);
CREATE INDEX ON twilio_sms_errors (phone_number, outgoing, occurred_at);
-- +migrate Down
DROP TABLE twilio_sms_errors;