1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/databases/mysql/sql/3_customer_details.sql
2023-07-18 01:09:09 +01:00

7 lines
224 B
SQL

CREATE TABLE `customer_details` (
`id` BIGINT AUTO_INCREMENT PRIMARY KEY,
`customer_name` VARCHAR(100) NOT NULL,
`branch_name` VARCHAR(30) NOT NULL,
`date_added` DATETIME DEFAULT CURRENT_TIMESTAMP
) CHARSET=utf8mb4;