feat: license信息添加用户数/基站数字段记录

This commit is contained in:
TsMask
2025-08-29 18:49:21 +08:00
parent a760f8207a
commit 0f3d5ab606
8 changed files with 56 additions and 24 deletions

View File

@@ -7,9 +7,10 @@ CREATE TABLE IF NOT EXISTS "ne_license" (
"ne_id" text(32) NOT NULL,
"activation_request_code" text(255) NOT NULL,
"license_path" text(255),
"capability" integer,
"serial_num" text(32),
"expiry_date" text(32),
"ue_number" integer,
"nb_number" integer,
"status" text(32),
"remark" text(255),
"create_by" text(50),
@@ -29,9 +30,11 @@ ON "ne_license" (
);
-- ADD COLUMN
ALTER TABLE ne_license ADD COLUMN capability integer;
ALTER TABLE ne_license DROP COLUMN capability;
ALTER TABLE ne_license ADD COLUMN ue_number integer;
ALTER TABLE ne_license ADD COLUMN nb_number integer;
-- ----------------------------
-- Records of ne_license
-- ----------------------------
INSERT OR IGNORE INTO "ne_license" VALUES (1, 'OMC', '001', '', '', 0, '', '', '0', '', 'system', 1713928436971, '', 0);
INSERT OR IGNORE INTO "ne_license" VALUES (1, 'OMC', '001', '', '', '', '', 0, 0, '0', '', 'system', 1713928436971, '', 0);