summaryrefslogtreecommitdiff
path: root/persistence/sqlite/0001_Create_Initial_Tables.sql
diff options
context:
space:
mode:
authoruvok cheetah2023-12-08 17:05:40 +0000
committeruvok cheetah2023-12-08 17:05:40 +0000
commite6d7e091b7b6dde1c736e7baf01fad5fd5c1ce27 (patch)
tree38a11d4df6a3661ba9eec8d0e7c7df0d9116a19d /persistence/sqlite/0001_Create_Initial_Tables.sql
Initial Commit
Diffstat (limited to 'persistence/sqlite/0001_Create_Initial_Tables.sql')
-rw-r--r--persistence/sqlite/0001_Create_Initial_Tables.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/persistence/sqlite/0001_Create_Initial_Tables.sql b/persistence/sqlite/0001_Create_Initial_Tables.sql
new file mode 100644
index 0000000..d563e4a
--- /dev/null
+++ b/persistence/sqlite/0001_Create_Initial_Tables.sql
@@ -0,0 +1,13 @@
+CREATE TABLE IF NOT EXISTS registrations (
+ reg_id TEXT PRIMARY KEY NOT NULL,
+ first_name TEXT NOT NULL,
+ last_name TEXT NOT NULL,
+ email TEXT NOT NULL,
+ company TEXT,
+ training_code TEXT,
+ date TEXT NOT NULL,
+ privacy_policy_accepted INTEGER NOT NULL,
+ confirmed INTEGER NOT NULL
+);
+
+PRAGMA user_version = 1