mirror of
https://github.com/beego/bee.git
synced 2024-11-23 11:50:55 +00:00
Merge branch 'hotfix/help_iss' into develop
This commit is contained in:
commit
76a5cc026e
@ -21,7 +21,7 @@ go get github.com/beego/bee
|
||||
Then you can add `bee` binary to PATH environment variable in your `~/.bashrc` or `~/.bash_profile` file:
|
||||
|
||||
```bash
|
||||
export PATH=$PATH:<your_main_gopath>/bin/bee
|
||||
export PATH=$PATH:<your_main_gopath>/bin
|
||||
```
|
||||
|
||||
> If you already have `bee` installed, updating `bee` is simple:
|
||||
|
@ -50,6 +50,9 @@ the following files/directories structure:
|
||||
│ └── user_controller.go
|
||||
├── docs
|
||||
│ └── doc.go
|
||||
├── helpers
|
||||
│ ├── object_helper.go
|
||||
│ └── user_helper.go
|
||||
├── main.go
|
||||
├── models
|
||||
│ ├── object.go
|
||||
@ -57,6 +60,8 @@ the following files/directories structure:
|
||||
├── routers
|
||||
│ └── router.go
|
||||
├── structures
|
||||
│ ├── object_structure.go
|
||||
│ └── user_structure.go
|
||||
└── tests
|
||||
└── default_test.go
|
||||
|
||||
|
@ -244,7 +244,7 @@ func selectMigrationsTableSql(driver string) string {
|
||||
case "mysql":
|
||||
return "DESC migrations"
|
||||
case "postgres":
|
||||
return "SELECT * FROM migrations ORDER BY id_migration;"
|
||||
return "SELECT * FROM migrations WHERE false ORDER BY id_migration;"
|
||||
default:
|
||||
return "DESC migrations"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user