Easy db deployment#94
Open
ichesnokov wants to merge 3 commits intointerchange:masterfrom
ichesnokov:easy-db-deployment
Open
Easy db deployment#94ichesnokov wants to merge 3 commits intointerchange:masterfrom ichesnokov:easy-db-deployment
ichesnokov wants to merge 3 commits intointerchange:masterfrom
ichesnokov:easy-db-deployment
Conversation
Instructions: 1. Install PostgreSQL and create database "perldance" 2. run ./bin/dh-install 3. run ./bin/dh-prepare-upgrade && ./bin/dh-upgrade Database is ready for the use.
Author
|
Hmm, no, I didn't mean to make a PR here :) |
Author
|
P.S. But looking at it it's easier to understand problems with initial DB deployment btw - maybe some bits from here can be reused to fix these problems. |
Member
|
Yeah, we are going through your commits and check out the useful bits. Thanks for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A series of dirty hacks to provide easy deployment of a
perldancedatabase.Primary changes:
medias.prioritycolumn - create it earlier to let the database be populated with test data during upgrade (can not be populated during installation of version 1 because schema thinks that "priority" column already exists, while it does not).