Add new column to auditor.actor_user_history to match the one
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Oct 2009 20:39:24 +0000 (20:39 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Oct 2009 20:39:24 +0000 (20:39 +0000)
just added to actor.usr.

M    Pg/002.schema.config.sql
A    Pg/upgrade/0046.au_hist_claims_never_checked_out.sql

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14543 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0046.au_hist_claims_never_checked_out.sql [new file with mode: 0644]

index e79f105..62863bd 100644 (file)
@@ -51,7 +51,7 @@ CREATE TABLE config.upgrade_log (
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0045'); -- berick
+INSERT INTO config.upgrade_log (version) VALUES ('0046'); -- Scott McKellar
 
 
 CREATE TABLE config.bib_source (
diff --git a/Open-ILS/src/sql/Pg/upgrade/0046.au_hist_claims_never_checked_out.sql b/Open-ILS/src/sql/Pg/upgrade/0046.au_hist_claims_never_checked_out.sql
new file mode 100644 (file)
index 0000000..468f912
--- /dev/null
@@ -0,0 +1,8 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0046'); -- Scott McKellar
+
+ALTER TABLE AUDITOR.actor_usr_history ADD COLUMN 
+       claims_never_checked_out_count INT NOT NULL DEFAULT 0;
+
+COMMIT;