https://github.com/vicanso/wsl
卫斯理小说
https://github.com/vicanso/wsl
Last synced: about 1 month ago
JSON representation
卫斯理小说
- Host: GitHub
- URL: https://github.com/vicanso/wsl
- Owner: vicanso
- Created: 2019-07-27T11:46:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T06:12:25.000Z (almost 3 years ago)
- Last Synced: 2025-05-18T10:07:03.998Z (5 months ago)
- Language: Go
- Size: 2.9 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wsl
## 测试环境
```bash
docker run \
-p 5432:5432 \
-e POSTGRES_USER=test \
-e POSTGRES_PASSWORD=123456 \
--restart=always \
--name=shark \
-d postgres:alpine
``````
# 切换用户
psql -U testCREATE USER vicanso WITH PASSWORD '123456';
CREATE DATABASE "novel" OWNER vicanso;
GRANT ALL PRIVILEGES ON DATABASE "novel" to vicanso;
```