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` (
`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;