mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 07:50:57 +01:00
e96c363eef
Summary: Provides a working SMS implementation with support for Twilio. This version doesn't really retry if we get any gruff at all. Future versions should retry. Test Plan: used bin/sms to send messages and look at them. Reviewers: chad, epriestley Reviewed By: epriestley Subscribers: aurelijus, epriestley, Korvin Maniphest Tasks: T920 Differential Revision: https://secure.phabricator.com/D8930
12 lines
568 B
SQL
12 lines
568 B
SQL
CREATE TABLE {$NAMESPACE}_metamta.sms (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
providerShortName VARCHAR(16) NOT NULL COLLATE utf8_bin,
|
|
providerSMSID VARCHAR(40) NOT NULL COLLATE utf8_bin,
|
|
toNumber VARCHAR(20) NOT NULL COLLATE utf8_bin,
|
|
fromNumber VARCHAR(20) COLLATE utf8_bin,
|
|
body LONGTEXT NOT NULL COLLATE utf8_bin,
|
|
sendStatus VARCHAR(16) COLLATE utf8_bin,
|
|
dateCreated INT UNSIGNED NOT NULL,
|
|
dateModified INT UNSIGNED NOT NULL,
|
|
UNIQUE KEY `key_provider` (providerSMSID, providerShortName)
|
|
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|