1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

simplify sql create tables

This commit is contained in:
Rob Ede
2023-07-18 01:09:09 +01:00
parent 048f4fd884
commit 16bfb1cf2f
11 changed files with 31 additions and 35 deletions

View File

@ -0,0 +1,6 @@
CREATE TABLE `teller_details` (
`id` BIGINT AUTO_INCREMENT PRIMARY KEY,
`teller_name` VARCHAR(100) NOT NULL,
`branch_name` VARCHAR(30) NOT NULL,
`date_added` DATETIME DEFAULT CURRENT_TIMESTAMP
) CHARSET=utf8mb4;