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

Implement better DB migrations #97

Merged
merged 1 commit into from Jan 4, 2020
Merged

Implement better DB migrations #97

merged 1 commit into from Jan 4, 2020

Conversation

@arp242
Copy link
Collaborator

arp242 commented Jan 4, 2020

Now you can run migrations with the -migrate switch:

$ goatcounter -migrate ./db/migrate/sqlite/2020-01-03-1-test.sql
$ goatcounter -migrate 2020-01-03-1-test.sql
$ goatcounter -migrate all

No more mucking about with sqlite3 or psql tools needed.

@arp242 arp242 force-pushed the mig branch 4 times, most recently from ee00077 to d58dd91 Jan 4, 2020
Now you can run migrations with the -migrate switch:

	$ goatcounter -migrate ./db/migrate/sqlite/2020-01-03-1-test.sql
	$ goatcounter -migrate 2020-01-03-1-test.sql
	$ goatcounter -migrate all

No more mucking about with sqlite3 or psql tools needed.
@arp242 arp242 force-pushed the mig branch from d58dd91 to 06cf118 Jan 4, 2020
@arp242 arp242 merged commit dd250f7 into master Jan 4, 2020
5 of 7 checks passed
5 of 7 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build failed
Details
Header rules No header rules processed
Details
Pages changed All files already uploaded
Details
Redirect rules No redirect rules processed
Details
Mixed content No mixed content detected
Details
deploy/netlify Deploy preview ready!
Details
@arp242 arp242 deleted the mig branch Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.