1 Star 5 Fork 1

陈浩楠/rust-actix

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
course.sql 1.14 KB
Copy Edit Raw Blame History
陈明亮 authored 3 years ago . sqlx crud demo
/*
Navicat Premium Data Transfer
Source Server : 192.168.1.239
Source Server Type : PostgreSQL
Source Server Version : 140002
Source Host : 192.168.1.239:5432
Source Catalog : rust_sqlx
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 140002
File Encoding : 65001
Date: 26/03/2022 22:22:53
*/
-- ----------------------------
-- Table structure for course
-- ----------------------------
DROP TABLE IF EXISTS "public"."course";
CREATE TABLE "public"."course" (
"id" int8 NOT NULL,
"teacher_id" int4 NOT NULL,
"name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
"time" date DEFAULT now()
)
;
-- ----------------------------
-- Records of course
-- ----------------------------
INSERT INTO "public"."course" VALUES (1, 11, 'cml', '2022-03-25');
INSERT INTO "public"."course" VALUES (2, 22, 'cc', '2022-03-25');
INSERT INTO "public"."course" VALUES (3, 33, 'mm', '2022-03-25');
-- ----------------------------
-- Primary Key structure for table course
-- ----------------------------
ALTER TABLE "public"."course" ADD CONSTRAINT "course_pkey" PRIMARY KEY ("id");
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/naylor_personal/rust-actix.git
git@gitee.com:naylor_personal/rust-actix.git
naylor_personal
rust-actix
rust-actix
master

Search