install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0059'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0060'); -- atz
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
currency_type TEXT NOT NULL REFERENCES acq.currency_type (code) DEFERRABLE INITIALLY DEFERRED,
code TEXT NOT NULL,
holding_tag TEXT,
+ san INT,
CONSTRAINT provider_name_once_per_owner UNIQUE (name,owner),
CONSTRAINT code_once_per_owner UNIQUE (code, owner)
);
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0060');
+
+-- Add a san column for EDI.
+-- See: http://isbn.org/standards/home/isbn/us/san/san-qa.asp
+
+ALTER TABLE acq.provider ADD COLUMN san INT;
+
+COMMIT;
+