day-08/sql/g6_day08.sql

38 lines
1.0 KiB
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
Navicat Premium Data Transfer
Source Server : csh47.102.213.213
Source Server Type : MySQL
Source Server Version : 80400
Source Host : 47.102.213.213:3306
Source Schema : g6_day08
Target Server Type : MySQL
Target Server Version : 80400
File Encoding : 65001
Date: 26/07/2024 09:15:27
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for bill
-- ----------------------------
DROP TABLE IF EXISTS `bill`;
CREATE TABLE `bill` (
`id` int NOT NULL AUTO_INCREMENT,
`date` datetime NULL DEFAULT NULL,
`money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`user_id` int NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of bill
-- ----------------------------
INSERT INTO `bill` VALUES (1, '2024-07-10 09:15:13', '1', 1);
SET FOREIGN_KEY_CHECKS = 1;