email varchar(255) unique /* comment 'email address for password recovery etc.' */,\r
incomingemail varchar(255) unique /* comment 'email address for post-by-email' */,\r
emailnotifysub integer default 1 /* comment 'Notify by email of subscriptions' */,\r
+ emailnotifyfav integer default 1 /* comment 'Notify by email of favorites' */,\r
+ emailnotifynudge integer default 1 /* comment 'Notify by email of nudges' */,\r
emailmicroid integer default 1 /* comment 'whether to publish email microid' */,\r
language varchar(50) /* comment 'preferred language' */,\r
timezone varchar(50) /* comment 'timezone' */,\r
smsemail varchar(255) /* comment 'built from sms and carrier' */,\r
uri varchar(255) unique /* comment 'universally unique identifier, usually a tag URI' */,\r
autosubscribe integer default 0 /* comment 'automatically subscribe to users who subscribe to us' */,\r
+ urlshorteningservice varchar(50) default 'ur1.ca' /* comment 'service to use for auto-shortening URLs' */,\r
created timestamp not null /* comment 'date this record was created' */,\r
modified timestamp /* comment 'date this record was modified' */\r
\r
code varchar(32) not null primary key /* comment 'good random code' */,\r
user_id integer not null /* comment 'user who requested confirmation' */ references "user" (id),\r
address varchar(255) not null /* comment 'address (email, Jabber, SMS, etc.)' */,\r
- address_extra varchar(255) not null /* comment 'carrier ID, for SMS' */,\r
+ address_extra varchar(255) not null default '' /* comment 'carrier ID, for SMS' */,\r
address_type varchar(8) not null /* comment 'address type ("email", "jabber", "sms")' */,\r
claimed timestamp /* comment 'date this was claimed for queueing' */,\r
sent timestamp /* comment 'date this was sent for queueing' */,\r