From c780295bf7b0b3293369d17db8a2556642b062b8 Mon Sep 17 00:00:00 2001 From: neerholt Date: Wed, 3 Mar 2021 10:22:31 +0100 Subject: [PATCH] Migrations start --- Backend/Database/Group.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Backend/Database/Group.php diff --git a/Backend/Database/Group.php b/Backend/Database/Group.php new file mode 100644 index 0000000..3129b31 --- /dev/null +++ b/Backend/Database/Group.php @@ -0,0 +1,12 @@ +create("Group", function ($tabel){ + $tabel->id(); + $tabel->string("groupName"); + $tabel->int("groupAmount"); + $tabel->int("votes"); +}); \ No newline at end of file