update the 1.11 to 1.12 upgrade schema for BDR
in Fedora we are trying to use BDR to make the koji db more resilient in order to get the schema to apply I had to make some changes in order for the schema changes to be applied. see http://bdr-project.org/docs/stable/ddl-replication-statements.html for more info there is examples that matched what we are doing at the bottom of the page in the section "8.2.3. DDL statements with restrictions" Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
5934cf667b
commit
66cdd4647d
1 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ BEGIN;
|
|||
|
||||
INSERT INTO permissions (name) VALUES ('image');
|
||||
|
||||
ALTER TABLE repo ADD COLUMN dist BOOLEAN DEFAULT 'false';
|
||||
ALTER TABLE repo ADD COLUMN dist BOOLEAN;
|
||||
ALTER TABLE repo ALTER COLUMN dist SET DEFAULT 'false';
|
||||
UPDATE repo SET dist = 'false';
|
||||
|
||||
COMMIT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue