Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Få migrate til å bygge igjen #1

Merged
merged 127 commits into from
Oct 13, 2017
Merged

Få migrate til å bygge igjen #1

merged 127 commits into from
Oct 13, 2017

Conversation

jhellan
Copy link

@jhellan jhellan commented Oct 13, 2017

Har gjort følgende:
Merget inn endringer på v1-grenen, bl.a. er det nyttig at import nå er versjonert ved hjelp av gopkg.in
Fjernet mysql - den kompilerer for tiden ikke mot v1, og vi bruker den ikke.
Oppdatert cassandra.go for å kompilere mot siste versjon av gocql.
Etter dette kan for øvrig Dockerfilen i cassandra-schema forenkles

daddykotex and others added 30 commits December 28, 2014 15:36
Using epoch prefixed filenames, multiple developers can commit
migrations while minimizing versioning conflicts.

This commit remains backwards compatible with all previous migrations
and requires no changes to the `schema_migrations` table.

This commit also cleans up migrate-test temp directories
If a non pq error is returned, we rollback and return the error
- Added go methods migrator, mongo db template: different from the usual driver
model.
- Added support for bidirectional files (for go methods), appending _up or _down upon context
- Added DriverWithFilnameParser for providing custom filename parser functionality that knows to parse bi-directional file names.
- Changed logic not to use custom filename parser:
  -Supporting up and down files only, no both direction files
  -Using method names as is
- Added complete test to the mongo db migration scenarios
…cific methods

- defined methods receivers registration by name and change the migration files format to include them
- added extensive testing
- currently each driver contains only a single method receiver:
   - enforcing method receiver pre-registration on go methods driver initialization
   - Method receiver name can be removed from files format
- passing the DbName parameter inside the method receiver for the go methods driver
Chris S and others added 29 commits March 2, 2017 12:48
driver/sqlite3: Fix for upstream changes
Seems the sqlite3 packaged reverted to using non-pointer Error. This patch corrects the use of it here.
According to the PostgreSQL documentation (section 32.1.1.2), postgres
library supports two URI schemes: postgresql:// and postgres://

Reference:
https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING
Support for alternative postgres URI scheme
Fix getting the latest version
v1: github.com/mattes/migrate -> gopkg.in/mattes/migrate.v1
Neo4J supports both `http` and `https` connections, however `https`
connections weren't supported previously as the `neo4j` URL scheme
currently used to identify the driver type is always substituted for
just `http`.

This PR also registers the driver under an alternate key: `neo4js` which
given the way the scheme substitution happens, should allow the driver
to correctly create an `https` connection URL. This will allow the
library to be used for cases where we don't have access to the plain
`http` endpoint.
Register neo4j driver using a pseudo `neo4js` protocol scheme.
@sigmunau sigmunau merged commit 7421815 into feideconnect:master Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet