diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-08-05 23:00:58 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-08-07 15:43:39 +0100 |
commit | d836a4496de7b24a9d3317e274800d35053a04f6 (patch) | |
tree | df290dee5a247b70126a62ec367d1642c44c5113 /vendor/gopkg.in/gorp.v1/Makefile | |
parent | b7b3e5cfad53732a379b3784ec2c3b72577ab665 (diff) |
Manage db schema with rubenv/sql-migrate
It's currently hard to make changes to the database schema. Use sql-migrate to make incremental changes.
Stop hard-coding the database name (the default is still "certs" for backward-compatibility)
The `automigrate()` function will automatically run pending migrations.
Use a different migration directory per database driver. This carries a cost of duplication, but is easier than creating migrations which will cleanly execute in both SQLite and MySQL.
Migrations are shipped using the packr utility.
Diffstat (limited to 'vendor/gopkg.in/gorp.v1/Makefile')
-rw-r--r-- | vendor/gopkg.in/gorp.v1/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/gopkg.in/gorp.v1/Makefile b/vendor/gopkg.in/gorp.v1/Makefile new file mode 100644 index 0000000..edf771c --- /dev/null +++ b/vendor/gopkg.in/gorp.v1/Makefile @@ -0,0 +1,6 @@ +include $(GOROOT)/src/Make.inc + +TARG = github.com/coopernurse/gorp +GOFILES = gorp.go dialect.go + +include $(GOROOT)/src/Make.pkg
\ No newline at end of file |