Skip to content

Commit

Permalink
添加psql数据库字段修改sql
Browse files Browse the repository at this point in the history
  • Loading branch information
SinCatGit committed Sep 3, 2018
1 parent b289c42 commit b5be059
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _posts/技术/2018-08-21-psql.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ DROP TABLE IF EXISTS backup_tbl;
# 删除库
\c hello2;
DROP DATABASE IF EXISTS hello;
# 修改数据库字段名称
ALTER TABLE "trust_line" RENAME COLUMN "trustline_id" TO "trust_line_id";
```

### 备份、恢复
Expand Down

0 comments on commit b5be059

Please sign in to comment.