From 996830641e5e066f7b3f337c0b9319f0b8a17042 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Tue, 26 Mar 2024 14:11:34 +0100 Subject: [PATCH] add ER Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- db/Entity-Relationship.png | Bin 0 -> 22198 bytes .../20240325143710_create_activities.sql | 2 +- .../20240326124253_create_activity_kinds.sql | 2 +- db/migrations/20240326125555_create_tags.sql | 2 +- .../20240326125630_create_activities_tags.sql | 2 +- .../20240326125819_create_activity_status.sql | 2 +- .../20240326125937_create_categories.sql | 2 +- ...40326130013_create_activities_categories.sql | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 db/Entity-Relationship.png diff --git a/db/Entity-Relationship.png b/db/Entity-Relationship.png new file mode 100644 index 0000000000000000000000000000000000000000..2fc119f020b8c38b0b48a4fce7f555d78931e2b0 GIT binary patch literal 22198 zcmb4rbwHF`_wE29DM$+l7>K0A5DGYeB1lN5NXJM>s7MVZg0xB_!Vm(|rAT+zNO!k% z4}JHbp19w4fA`)$&N-ZU-*?B_Yp=c5v!1p6loX^d5YiDsAdm|(4<%I~5bOuwpF8;2 z;Fl{$gPahEhO3OEgqq{0mDtlz%Er-gEH8=R3S3-fN_@?W_@cr|Qwmc7q;{p3ZR0a2 zV7Z=Ngg3_%LN6;^$~CF?zuw_*@2@!HtLvvyU!vys8r)S^uX8Ety3}?s;LQVY=tUy*yA5Q`wyMyubd(F?o~ z@B~jL3dlWC9;Opeaaweyl9>zh2Ce}I+!wK_5$)5ZDs{htti{eSy)Nay( zx9RZF)XBB6a_TC072i5-yu1WV?iw`V>n3e<<>AigKH0Dh5fZDl3hu#&yU&@>=Da!h zGL?9b5({yj69V6QDzu>n{i#TtE4Sv$v9h_l0rJIMQuD$Dyeia9Gl|dcD zS6eM!iOsGamD#|=Vw&b1^SXUk;6v9_Yd_cZAKOnSB;x$+XZ@i3gEdV}d? zAy}c2!awFdLv{km6#`mPqm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N>jH?7Q+nX`L9%(L zMbU*89keZcK}l3G(ZA@JsjGUAoh9}wp|z_?n)P}8$}W^Q3OE!Yh6o3)SR1vlxoQch z^t-ng{ih;u-2z0?xkx*0KA{tBI*O_HQkx#D(6rlXTcyMcXN-{FHSwzhnvZ=TyvKh#j%y8iv$7yibQrhH33niOCAt}aD5-Tl_Z z%EC`|&&c-OGfnnTF2P|CD5HxWPG~J}j-#C6;is*q=h|D+ z6ZxBM6ZnTG)KE!u$)H|jv?@qubThiqN24Z3uJdm}-am=4NShWltB8?pnJ)~JStB-B zmpenZZtf|2Yo5n-KNEP`pSsX~P*Q_9@w0#my0Bm(SG)gV04oBnDZ5oZI^2UDUd((< zFD`v?P$NL?=LhA*{Kk`3MO-26`0u{?f;G%?NUcLxB8P}r1#w0sHJobNGZ>tns7G)* zbYAqEL!M;~SLpo>vaPMHQ(4Q-e0Xagve8#)iMHOZBm#?uJbi;+}@?k3KX&7smv{Ct}#=D?89H=YnXUSw` zuM*+5*jl?Od%y)UVk~ht$Z%D7A=|qE!zx=c-!)!jaoRlcr?pXxYRZR%yUy9v#MM7H zA5EJ&3+kiLRLRSYGv4_tXvv27DBs|s4LQeU5ON)m zG5O*tCaK&?)Nz)_I1t)vJHEKhsx1)WcR|pOT7V((S#EaCR)ocGi|1A@(DJscz+len rM?vZgRsfKwf5m47XZ;D$b>@?T-fNXoS<-SOFaX0kyY8uQ45Iu8w>Ou2 literal 0 HcmV?d00001 diff --git a/db/migrations/20240325143710_create_activities.sql b/db/migrations/20240325143710_create_activities.sql index 7693e4d9..609b5631 100644 --- a/db/migrations/20240325143710_create_activities.sql +++ b/db/migrations/20240325143710_create_activities.sql @@ -1,5 +1,5 @@ -- migrate:up -CREATE TABLE activities ( +CREATE TABLE IF NOT EXISTS activities ( guid TEXT PRIMARY KEY, category TEXT NOT NULL, description TEXT NOT NULL, diff --git a/db/migrations/20240326124253_create_activity_kinds.sql b/db/migrations/20240326124253_create_activity_kinds.sql index 8f9ad66c..ca7bd7ad 100644 --- a/db/migrations/20240326124253_create_activity_kinds.sql +++ b/db/migrations/20240326124253_create_activity_kinds.sql @@ -1,5 +1,5 @@ -- migrate:up -CREATE TABLE activity_kinds ( +CREATE TABLE IF NOT EXISTS activity_kinds ( guid TEXT PRIMARY KEY, kind TEXT NOT NULL ); diff --git a/db/migrations/20240326125555_create_tags.sql b/db/migrations/20240326125555_create_tags.sql index 7d6d2d85..738d4ba1 100644 --- a/db/migrations/20240326125555_create_tags.sql +++ b/db/migrations/20240326125555_create_tags.sql @@ -1,5 +1,5 @@ -- migrate:up -CREATE TABLE tags ( +CREATE TABLE IF NOT EXISTS tags ( guid TEXT PRIMARY KEY, tag TEXT NOT NULL ); diff --git a/db/migrations/20240326125630_create_activities_tags.sql b/db/migrations/20240326125630_create_activities_tags.sql index 54f46b90..1e145396 100644 --- a/db/migrations/20240326125630_create_activities_tags.sql +++ b/db/migrations/20240326125630_create_activities_tags.sql @@ -1,5 +1,5 @@ -- migrate:up -CREATE TABLE activities_tags ( +CREATE TABLE IF NOT EXISTS activities_tags ( guid TEXT PRIMARY KEY, tag_guid TEXT NOT NULL, activity_guid TEXT NOT NULL, diff --git a/db/migrations/20240326125819_create_activity_status.sql b/db/migrations/20240326125819_create_activity_status.sql index ff5e42ac..10532bb8 100644 --- a/db/migrations/20240326125819_create_activity_status.sql +++ b/db/migrations/20240326125819_create_activity_status.sql @@ -1,5 +1,5 @@ -- migrate:up -CREATE TABLE activity_status ( +CREATE TABLE IF NOT EXISTS activity_status ( guid TEXT PRIMARY KEY, status TEXT NOT NULL ); diff --git a/db/migrations/20240326125937_create_categories.sql b/db/migrations/20240326125937_create_categories.sql index e23234fd..dfdcbc1c 100644 --- a/db/migrations/20240326125937_create_categories.sql +++ b/db/migrations/20240326125937_create_categories.sql @@ -1,5 +1,5 @@ -- migrate:up -CREATE TABLE categories ( +CREATE TABLE IF NOT EXISTS categories ( guid TEXT PRIMARY KEY, category TEXT NOT NULL, description TEXT NULL diff --git a/db/migrations/20240326130013_create_activities_categories.sql b/db/migrations/20240326130013_create_activities_categories.sql index 6515095b..f15e8106 100644 --- a/db/migrations/20240326130013_create_activities_categories.sql +++ b/db/migrations/20240326130013_create_activities_categories.sql @@ -1,5 +1,5 @@ -- migrate:up -CREATE TABLE activities_categories ( +CREATE TABLE IF NOT EXISTS activities_categories ( guid TEXT PRIMARY KEY, category_guid TEXT NOT NULL, activity_guid TEXT NOT NULL,