X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=db%2F08to09.sql;h=b10e47dbcb67f769f1577c046c9222e0e772c600;hb=8e07926a9c0736b5a3f408465dded92676ac1862;hp=d9c25bc723ade4610b69951a7dc9e6466e7e4391;hpb=d59df6b27013fb534d6444d8e4790f2edcd9459a;p=quix0rs-gnu-social.git diff --git a/db/08to09.sql b/db/08to09.sql index d9c25bc723..b10e47dbcb 100644 --- a/db/08to09.sql +++ b/db/08to09.sql @@ -94,3 +94,19 @@ create table user_location_prefs ( constraint primary key (user_id) ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; +create table queue_item_new ( + id integer auto_increment primary key comment 'unique identifier', + frame blob not null comment 'data: object reference or opaque string', + 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=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; + +insert into queue_item_new (frame,transport,created,claimed) + select notice_id,transport,created,claimed from queue_item; +alter table queue_item rename to queue_item_old; +alter table queue_item_new rename to queue_item; +