From ed04710018d46c88caceab51219577dcdee95e2e Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 19 Sep 2009 06:12:48 +0000 Subject: [PATCH] - Rename YSF to YSC - Add the help websites we lost somewhere for STO and YSC - Copy the $config ysf login data into the fairs data --- db/db.code.version.txt | 2 +- db/db.update.136.php | 34 ++++++++++++++++++++++++++++++++++ db/db.update.136.sql | 4 ++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 db/db.update.136.php create mode 100644 db/db.update.136.sql diff --git a/db/db.code.version.txt b/db/db.code.version.txt index c8b255f..7296f25 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -135 +136 diff --git a/db/db.update.136.php b/db/db.update.136.php new file mode 100644 index 0000000..d65c9f9 --- /dev/null +++ b/db/db.update.136.php @@ -0,0 +1,34 @@ + diff --git a/db/db.update.136.sql b/db/db.update.136.sql new file mode 100644 index 0000000..391d636 --- /dev/null +++ b/db/db.update.136.sql @@ -0,0 +1,4 @@ +ALTER TABLE `fairs` CHANGE `type` `type` ENUM( 'feeder', 'sfiab', 'ysc' ) NOT NULL ; + +UPDATE fairs SET `type`='ysc' WHERE `type`=''; +