add leading 0 for filename consistency
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Dec 2009 14:26:48 +0000 (14:26 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Dec 2009 14:26:48 +0000 (14:26 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15191 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/upgrade/0119.schema.booking.transits.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/119.schema.booking.transits.sql [deleted file]

diff --git a/Open-ILS/src/sql/Pg/upgrade/0119.schema.booking.transits.sql b/Open-ILS/src/sql/Pg/upgrade/0119.schema.booking.transits.sql
new file mode 100644 (file)
index 0000000..c3a1814
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0119'); -- miker
+
+CREATE TABLE action.reservation_transit_copy (
+    reservation    INT REFERENCES booking.reservation (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED
+) INHERITS (action.transit_copy);
+ALTER TABLE action.reservation_transit_copy ADD PRIMARY KEY (id);
+ALTER TABLE action.reservation_transit_copy ADD CONSTRAINT artc_tc_fkey FOREIGN KEY (target_copy) REFERENCES booking.resource (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
+CREATE INDEX active_reservation_transit_dest_idx ON "action".reservation_transit_copy (dest);
+CREATE INDEX active_reservation_transit_source_idx ON "action".reservation_transit_copy (source);
+CREATE INDEX active_reservation_transit_cp_idx ON "action".reservation_transit_copy (target_copy);
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/119.schema.booking.transits.sql b/Open-ILS/src/sql/Pg/upgrade/119.schema.booking.transits.sql
deleted file mode 100644 (file)
index c3a1814..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-BEGIN;
-
-INSERT INTO config.upgrade_log (version) VALUES ('0119'); -- miker
-
-CREATE TABLE action.reservation_transit_copy (
-    reservation    INT REFERENCES booking.reservation (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED
-) INHERITS (action.transit_copy);
-ALTER TABLE action.reservation_transit_copy ADD PRIMARY KEY (id);
-ALTER TABLE action.reservation_transit_copy ADD CONSTRAINT artc_tc_fkey FOREIGN KEY (target_copy) REFERENCES booking.resource (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
-CREATE INDEX active_reservation_transit_dest_idx ON "action".reservation_transit_copy (dest);
-CREATE INDEX active_reservation_transit_source_idx ON "action".reservation_transit_copy (source);
-CREATE INDEX active_reservation_transit_cp_idx ON "action".reservation_transit_copy (target_copy);
-
-COMMIT;
-