summaryrefslogtreecommitdiff
path: root/db/laconica.sql
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-23 23:16:52 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-23 23:16:52 -0400
commitb0e92c75cc19a91e1ea4bbb8009f6f66dc56231b (patch)
tree2401c1ff984064572891b3c3a0e6f847c8f379ea /db/laconica.sql
parent63ad980767fc10053eea5a5ca009dda65af42de8 (diff)
move design items before timestamps
Diffstat (limited to 'db/laconica.sql')
-rw-r--r--db/laconica.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index c87340e8e..2ad482aba 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -70,11 +70,12 @@ create table user (
autosubscribe tinyint default 0 comment 'automatically subscribe to users who subscribe to us',
urlshorteningservice varchar(50) default 'ur1.ca' comment 'service to use for auto-shortening URLs',
inboxed tinyint default 0 comment 'has an inbox been created for this user?',
- created datetime not null comment 'date this record was created',
- modified timestamp comment 'date this record was modified',
design_id integer comment 'id of a design' references design(id),
viewdesigns tinyint default 1 comment 'whether to view user-provided designs',
+ created datetime not null comment 'date this record was created',
+ modified timestamp comment 'date this record was modified',
+
index user_smsemail_idx (smsemail)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;