Add upgrade script to go along with r13763 (thanks for the reminder, senator)
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Aug 2010 14:47:37 +0000 (14:47 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Aug 2010 14:47:37 +0000 (14:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17371 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/upgrade/0382.schema.asset_copy_location_callnums.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/upgrade/0382.schema.asset_copy_location_callnums.sql b/Open-ILS/src/sql/Pg/upgrade/0382.schema.asset_copy_location_callnums.sql
new file mode 100644 (file)
index 0000000..0df40bd
--- /dev/null
@@ -0,0 +1,10 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0382'); -- dbs
+
+-- Start picking up call number label prefixes and suffixes
+-- from asset.copy_location
+ALTER TABLE asset.copy_location ADD COLUMN label_prefix TEXT;
+ALTER TABLE asset.copy_location ADD COLUMN label_suffix TEXT;
+
+COMMIT;