1. 首页
  2. 数据库
  3. 其它
  4. student_submissions:基于Python Flask的后端服务器可使用Psycopg2和SqlAlchemy与PostgreSql数据库一起使用

student_submissions:基于Python Flask的后端服务器可使用Psycopg2和SqlAlchemy与PostgreSql数据库一起使用

上传者: 2021-02-21 00:20:46上传 ZIP文件 244.96KB 热度 9次
后端设置和流程 -使用所有者“ records_app”和密码“ password”创建了名为“ records”的数据库postgresql。 ```create user records_app createdb password 'password'; ``` ```create database records with owner records_app; ``` -在服务文件夹中运行```pipenv shell python database.py ``` -特别指定了列的类型,并定义了PRIMARY KEYS和FOREIGN KEYS。 -提交表的ID为PK 烧瓶
下载地址
用户评论