card-drop/database/0.1/1693769942868-CreateBase/Up/01-table/Inventory.sql
Ethan Lane 8b3fb062f0
All checks were successful
continuous-integration/drone/push Build is passing
Add deployment scripts (#18)
#3

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>
2023-09-03 20:52:55 +01:00

10 lines
No EOL
349 B
SQL

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;