From 1767458b66e1760dc4c8e01405ee087cd0fb2458 Mon Sep 17 00:00:00 2001 From: Scott Le Date: Tue, 1 Mar 2016 10:08:04 +0700 Subject: [PATCH 1/3] fix cannot migrate with Postgres --- migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrate.go b/migrate.go index 2e3d8b2..173c5b0 100644 --- a/migrate.go +++ b/migrate.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" } From 7abba4be163a8197a0ed6fbf2f61cefb4cb2f246 Mon Sep 17 00:00:00 2001 From: Jonathan Penny Date: Wed, 13 Apr 2016 09:25:26 -0500 Subject: [PATCH 2/3] Fixed readme. $PATH was incorrect --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bad9ee..cdb5e9d 100644 --- a/README.md +++ b/README.md @@ -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:/bin/bee +export PATH=$PATH:/bin ``` > If you already have `bee` installed, updating `bee` is simple: From 1fdcc388e709c859b7688067be2f7774b38f1060 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 23 Apr 2016 00:54:26 +0800 Subject: [PATCH 3/3] complete help iss --- apiapp.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apiapp.go b/apiapp.go index 5d24e55..9186f8e 100644 --- a/apiapp.go +++ b/apiapp.go @@ -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