-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS "sys_dept";
CREATE TABLE "sys_dept" (
  "dept_id" integer NOT NULL,
  "parent_id" integer(20),
  "ancestors" text(255),
  "dept_name" text(255),
  "dept_sort" integer(11),
  "leader" text(32),
  "phone" text(32),
  "email" text(64),
  "status_flag" text(1),
  "del_flag" text(1),
  "create_by" text(64),
  "create_time" integer(20),
  "update_by" text(64),
  "update_time" integer(20),
  PRIMARY KEY ("dept_id")
);

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
INSERT INTO "sys_dept" VALUES (100, 0, '0', 'dept.root', 0, 'system', '', '', '1', '0', 'system', 1699348237468, 'system', 1699348237468);
INSERT INTO "sys_dept" VALUES (101, 100, '0,100', 'dept.root.item1', 1, 'system', '', '', '1', '0', 'system', 1699348237468, 'system', 1699348237468);
