From cc520877887be068988ad6a1d936397448085fdf Mon Sep 17 00:00:00 2001 From: Mike Salerno Date: Mon, 18 Nov 2024 09:49:39 -0500 Subject: [PATCH] make clan_id an autoincrement column --- .../Files/Database/Script/clan_migration.sql | 2 +- Arrowgene.Ddon.Database/Files/Database/Script/schema_sqlite.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Arrowgene.Ddon.Database/Files/Database/Script/clan_migration.sql b/Arrowgene.Ddon.Database/Files/Database/Script/clan_migration.sql index 607b792b4..b98054317 100644 --- a/Arrowgene.Ddon.Database/Files/Database/Script/clan_migration.sql +++ b/Arrowgene.Ddon.Database/Files/Database/Script/clan_migration.sql @@ -1,6 +1,6 @@ CREATE TABLE "ddon_clan_param" ( - "clan_id" INTEGER PRIMARY KEY NOT NULL, + "clan_id" INTEGER PRIMARY KEY AUTOINCREMENT, "clan_level" INTEGER NOT NULL, "member_num" INTEGER NOT NULL, "master_id" INTEGER NOT NULL, diff --git a/Arrowgene.Ddon.Database/Files/Database/Script/schema_sqlite.sql b/Arrowgene.Ddon.Database/Files/Database/Script/schema_sqlite.sql index 1a898d2bb..565206abc 100644 --- a/Arrowgene.Ddon.Database/Files/Database/Script/schema_sqlite.sql +++ b/Arrowgene.Ddon.Database/Files/Database/Script/schema_sqlite.sql @@ -715,7 +715,7 @@ CREATE TABLE IF NOT EXISTS "ddon_bbm_content_treasure" CREATE TABLE IF NOT EXISTS "ddon_clan_param" ( - "clan_id" INTEGER PRIMARY KEY NOT NULL, + "clan_id" INTEGER PRIMARY KEY AUTOINCREMENT, "clan_level" INTEGER NOT NULL, "member_num" INTEGER NOT NULL, "master_id" INTEGER NOT NULL,