Add upgrade script for changes previously committed, adding a dummy_isbn
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Sep 2009 16:48:24 +0000 (16:48 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Sep 2009 16:48:24 +0000 (16:48 +0000)
column to asset.copy and auditor.asset_copy_history.

A    Open-ILS/src/sql/Pg/upgrade/0010.schema.asset-copy-dummy-isbn.sql

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

Open-ILS/src/sql/Pg/upgrade/0010.schema.asset-copy-dummy-isbn.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/upgrade/0010.schema.asset-copy-dummy-isbn.sql b/Open-ILS/src/sql/Pg/upgrade/0010.schema.asset-copy-dummy-isbn.sql
new file mode 100644 (file)
index 0000000..4789910
--- /dev/null
@@ -0,0 +1,12 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0010.schema.asset-copy-dummy-isbn.sql');
+
+ALTER TABLE asset.copy
+ADD COLUMN dummy_isbn TEXT;
+
+ALTER TABLE auditor.asset_copy_history
+ADD COLUMN dummy_isbn TEXT;
+
+COMMIT;
+