[open-ils-commits] r19633 - trunk/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 7 16:05:22 EST 2011
Author: miker
Date: 2011-03-07 16:05:17 -0500 (Mon, 07 Mar 2011)
New Revision: 19633
Modified:
trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
config.videorecording_format_map moved to SVF
Modified: trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2011-03-07 21:03:47 UTC (rev 19632)
+++ trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2011-03-07 21:05:17 UTC (rev 19633)
@@ -41,33 +41,7 @@
-- add an fkey pointing to the new circ mod table
ALTER TABLE asset.copy ADD CONSTRAINT circ_mod_fkey FOREIGN KEY (circ_modifier) REFERENCES config.circ_modifier (code) ON UPDATE CASCADE ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED;
--- config table to hold the vr_format names
-CREATE TABLE config.videorecording_format_map (
- code TEXT PRIMARY KEY,
- value TEXT NOT NULL
-);
-INSERT INTO config.videorecording_format_map VALUES ('a','Beta');
-INSERT INTO config.videorecording_format_map VALUES ('b','VHS');
-INSERT INTO config.videorecording_format_map VALUES ('c','U-matic');
-INSERT INTO config.videorecording_format_map VALUES ('d','EIAJ');
-INSERT INTO config.videorecording_format_map VALUES ('e','Type C');
-INSERT INTO config.videorecording_format_map VALUES ('f','Quadruplex');
-INSERT INTO config.videorecording_format_map VALUES ('g','Laserdisc');
-INSERT INTO config.videorecording_format_map VALUES ('h','CED');
-INSERT INTO config.videorecording_format_map VALUES ('i','Betacam');
-INSERT INTO config.videorecording_format_map VALUES ('j','Betacam SP');
-INSERT INTO config.videorecording_format_map VALUES ('k','Super-VHS');
-INSERT INTO config.videorecording_format_map VALUES ('m','M-II');
-INSERT INTO config.videorecording_format_map VALUES ('o','D-2');
-INSERT INTO config.videorecording_format_map VALUES ('p','8 mm.');
-INSERT INTO config.videorecording_format_map VALUES ('q','Hi-8 mm.');
-INSERT INTO config.videorecording_format_map VALUES ('u','Unknown');
-INSERT INTO config.videorecording_format_map VALUES ('v','DVD');
-INSERT INTO config.videorecording_format_map VALUES ('z','Other');
-
-
-
/**
** Here we define the tables that make up the circ matrix. Conceptually, this implements
** the "sparse matrix" that everyone talks about, instead of using traditional rules logic.
More information about the open-ils-commits
mailing list