1
0
mirror of https://github.com/actix/examples synced 2024-12-18 08:23:10 +01:00
examples/databases/mysql/sql/3_customer_details.sql

7 lines
224 B
MySQL
Raw Normal View History

2023-07-18 02:09:09 +02:00
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;