mirror of
https://github.com/beego/bee.git
synced 2024-11-23 06:40:54 +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:
|
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:
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user