You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
730 B
MySQL
21 lines
730 B
MySQL
3 years ago
|
SET NAMES utf8mb4;
|
||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for order
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `order`;
|
||
|
CREATE TABLE `order`
|
||
|
(
|
||
|
`id` bigint(20) NOT NULL COMMENT 'id',
|
||
|
`order_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||
|
`order_price` decimal(10, 2) NOT NULL,
|
||
|
`order_time` datetime(0) NOT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB
|
||
|
CHARACTER SET = utf8mb4
|
||
|
COLLATE = utf8mb4_general_ci
|
||
|
ROW_FORMAT = Dynamic;
|
||
|
|
||
|
SET FOREIGN_KEY_CHECKS = 1;
|