1
0
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:
Dylan 2016-04-23 00:54:52 +08:00
commit 76a5cc026e
3 changed files with 7 additions and 2 deletions

View File

@ -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: Then you can add `bee` binary to PATH environment variable in your `~/.bashrc` or `~/.bash_profile` file:
```bash ```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: > If you already have `bee` installed, updating `bee` is simple:

View File

@ -50,6 +50,9 @@ the following files/directories structure:
   user_controller.go    user_controller.go
docs docs
   doc.go    doc.go
helpers
   object_helper.go
   user_helper.go
main.go main.go
models models
   object.go    object.go
@ -57,6 +60,8 @@ the following files/directories structure:
routers routers
   router.go    router.go
structures structures
   object_structure.go
   user_structure.go
tests tests
default_test.go default_test.go

View File

@ -244,7 +244,7 @@ func selectMigrationsTableSql(driver string) string {
case "mysql": case "mysql":
return "DESC migrations" return "DESC migrations"
case "postgres": case "postgres":
return "SELECT * FROM migrations ORDER BY id_migration;" return "SELECT * FROM migrations WHERE false ORDER BY id_migration;"
default: default:
return "DESC migrations" return "DESC migrations"
} }