Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

UNDER CONSTRUCTION - DO NOT USE YET

Numbered Headings
start-numbering-ath2

Version 0.9.1 to 0.9.2

Revision xxx was tagged as version

0.9.2

.

Add new directives to configuration file

Add these two directives to application/configs/application.ini:

Code Block
langphp
core.review.tiebreaker = 0.13
core.observer.tiebreaker.notify = 1

Run SQL changes

Apply this patch to your CORE database:

Code Block

sudo su - postgres
psql -U core_user core_test_db < public/installer/sql/update-0.9.1-to-0.9.2.sql

Update code

svn up -rxxx
or
svn switch
sql
sql


CREATE TABLE reviewbreaker (
    submission_id INTEGER NOT NULL,
    evalue REAL NOT NULL,
    CONSTRAINT reviewbreaker_pkey PRIMARY KEY(submission_id),
    CONSTRAINT reviewbreaker_submission_id_fk1
    FOREIGN KEY (submission_id)
    REFERENCES submissions(submission_id)
    ON DELETE CASCADE
    ON UPDATE NO ACTION
    NOT DEFERRABLE
) WITHOUT OIDS;


ALTER TABLE reviewers_submissions
    ADD COLUMN tiebreaker
    BOOLEAN
    DEFAULT false
    NOT NULL;

Update code

In case you are running branches/core-0.9 (recommended), or trunk (not recommended) you can just do svn up..
In case you run tags/core-0.9.1, you can do:

Code Block

svn switch https://terena-core.googlecode.com/svn/tags/core-0.9.2