OSDN Git Service

table define update
[mubot4fb/mubot4fb.git] / queue.mysql
index 7106f54..b7b0aa1 100644 (file)
@@ -1,9 +1,9 @@
 CREATE TABLE job (
-        id           int(10) unsigned NOT NULL auto_increment,
+        id           BIGINT UNSIGNED NOT NULL auto_increment,
         func         varchar(255)     NOT NULL,
         arg          MEDIUMBLOB,
         enqueue_time DATETIME         NOT NULL,
-        primary key ( id )
+        primary key (id)
 ) ENGINE=InnoDB;
 
 create index func_idx on job(func);