fix: 修复ne_info表判断导致删除
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for ne_info
|
-- Table structure for ne_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS "ne_info";
|
DROP TABLE IF NOT EXISTS "ne_info";
|
||||||
CREATE TABLE "ne_info" (
|
CREATE TABLE "ne_info" (
|
||||||
"id" integer NOT NULL,
|
"id" integer NOT NULL,
|
||||||
"ne_type" text(32) NOT NULL,
|
"ne_type" text(32) NOT NULL,
|
||||||
@@ -30,7 +30,7 @@ CREATE TABLE "ne_info" (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Indexes structure for table ne_info
|
-- Indexes structure for table ne_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
CREATE UNIQUE INDEX "ux_netype_neid"
|
CREATE UNIQUE INDEX IF NOT EXISTS "ux_netype_neid"
|
||||||
ON "ne_info" (
|
ON "ne_info" (
|
||||||
"ne_type" ASC,
|
"ne_type" ASC,
|
||||||
"ne_id" ASC
|
"ne_id" ASC
|
||||||
|
|||||||
Reference in New Issue
Block a user