From f8f67e61fad3346d74a4b68282e1c1a6a04a6315 Mon Sep 17 00:00:00 2001 From: P0nk Date: Tue, 1 Jul 2025 07:08:29 +0200 Subject: [PATCH] Add marriage changeset --- src/main/resources/db/015-marriage.sql | 17 +++++++++++++++++ src/main/resources/db/changelog.xml | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 src/main/resources/db/015-marriage.sql diff --git a/src/main/resources/db/015-marriage.sql b/src/main/resources/db/015-marriage.sql new file mode 100644 index 0000000000..66e64ecb6b --- /dev/null +++ b/src/main/resources/db/015-marriage.sql @@ -0,0 +1,17 @@ +CREATE TABLE lb_marriages +( + marriageid INT UNSIGNED NOT NULL AUTO_INCREMENT, + husbandid INT UNSIGNED NOT NULL DEFAULT '0', + wifeid INT UNSIGNED NOT NULL DEFAULT '0', + PRIMARY KEY (marriageid) +); + +CREATE TABLE lb_rings +( + id INT NOT NULL AUTO_INCREMENT, + partnerRingId INT NOT NULL DEFAULT '0', + partnerChrId INT NOT NULL DEFAULT '0', + itemid INT NOT NULL DEFAULT '0', + partnername VARCHAR(255) NOT NULL, + PRIMARY KEY (id) USING BTREE +); \ No newline at end of file diff --git a/src/main/resources/db/changelog.xml b/src/main/resources/db/changelog.xml index 4f2bf966c7..f393804c6d 100644 --- a/src/main/resources/db/changelog.xml +++ b/src/main/resources/db/changelog.xml @@ -61,4 +61,8 @@ + + + + \ No newline at end of file