Add deployment scripts ()



Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/18
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
This commit is contained in:
Ethan Lane 2023-09-03 20:52:55 +01:00 committed by Vylpes
parent 58d1541e47
commit 8b3fb062f0
8 changed files with 145 additions and 2 deletions
database/0.1/1693769942868-CreateBase/Up/01-table

View file

@ -0,0 +1,10 @@
CREATE TABLE `inventory` (
`Id` varchar(255) NOT NULL,
`WhenCreated` datetime NOT NULL,
`WhenUpdated` datetime NOT NULL,
`UserId` varchar(255) NOT NULL,
`CardNumber` varchar(255) NOT NULL,
`Quantity` int NOT NULL,
`ClaimId` varchar(255) NOT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;