1
0
mirror of https://github.com/actix/examples synced 2024-12-02 18:02:22 +01:00
examples/databases/mysql/sql/customer_details.sql

8 lines
283 B
MySQL
Raw Normal View History

CREATE TABLE `customer_details` (
2023-07-17 18:55:17 +02:00
`id` INT NOT NULL AUTO_INCREMENT,
`customer_name` VARCHAR(100) DEFAULT '',
`branch_name` VARCHAR(30) DEFAULT '',
`date_added` DATETIME DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;