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

8 lines
283 B
SQL

CREATE TABLE `customer_details` (
`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;