]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/laconica.sql
email settings for post by email
[quix0rs-gnu-social.git] / db / laconica.sql
index 4a89544d8014f145f7b36baebd8d46f1382e812a..a598e447094c72c2bb3699bf65eb5dde750317ef 100644 (file)
@@ -45,8 +45,12 @@ create table user (
     nickname varchar(64) unique key comment 'nickname or username, duped in profile',
     password varchar(255) comment 'salted password, can be null for OpenID users',
     email varchar(255) unique key comment 'email address for password recovery etc.',
+    incomingemail varchar(255) unique key comment 'email address for post-by-email',
+    emailnotifysub tinyint default 1 comment 'Notify by email of subscriptions',
+    emailpost tinyint default 1 comment 'Post by email',
     jabber varchar(255) unique key comment 'jabber ID for notices',
     jabbernotify tinyint default 0 comment 'whether to send notices to jabber',
+    jabberreplies tinyint default 0 comment 'whether to send notices to jabber on replies',
     updatefrompresence tinyint default 0 comment 'whether to record updates from Jabber presence notices',
     sms varchar(64) unique key comment 'sms phone number',
     carrier integer comment 'foreign key to sms_carrier' references sms_carrier (id),
@@ -197,10 +201,11 @@ create table remember_me (
 create table queue_item (
 
     notice_id integer not null primary key comment 'notice queued' references notice (id),
+    transport varchar(8) not null comment 'queue for what? "email", "jabber", "sms", "irc", ...',
     created datetime not null comment 'date this record was created',
     claimed datetime comment 'date this item was claimed',
 
     index queue_item_created_idx (created)
-    
+
 ) ENGINE=MyISAM;