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:
6
databases/mysql/sql/4_teller_details.sql
Normal file
6
databases/mysql/sql/4_teller_details.sql
Normal 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;
|
Reference in New Issue
Block a user