This commit is contained in:
10
CommentPush/sql/install/Mysql.sql
Normal file
10
CommentPush/sql/install/Mysql.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE IF NOT EXISTS `{prefix}comment_push` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`service` text COMMENT '服务',
|
||||
`object` text COMMENT '对象',
|
||||
`context` text COMMENT '内容',
|
||||
`result` text COMMENT '结果',
|
||||
`error` text COMMENT '错误信息',
|
||||
`time` bigint(20) DEFAULT NULL COMMENT '时间',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8;
|
||||
9
CommentPush/sql/install/SQLite.sql
Normal file
9
CommentPush/sql/install/SQLite.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS "{prefix}comment_push" (
|
||||
"id" integer PRIMARY KEY AUTOINCREMENT,
|
||||
"service" text DEFAULT NULL,
|
||||
"object" text DEFAULT NULL,
|
||||
"context" text DEFAULT NULL,
|
||||
"result" text DEFAULT NULL,
|
||||
"error" text DEFAULT NULL,
|
||||
"time" integer DEFAULT NULL
|
||||
);
|
||||
1
CommentPush/sql/uninstall/Mysql.sql
Normal file
1
CommentPush/sql/uninstall/Mysql.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS `{prefix}comment_push`
|
||||
1
CommentPush/sql/uninstall/SQLite.sql
Normal file
1
CommentPush/sql/uninstall/SQLite.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS {prefix}comment_push
|
||||
Reference in New Issue
Block a user