Fixed ccm-forum-6.6.0-6.6.1 for Oracle

git-svn-id: https://svn.libreccm.org/ccm/trunk@3051 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-12-14 13:56:51 +00:00
parent 3d4be10ca0
commit cf5aa6f131
1 changed files with 7 additions and 3 deletions

View File

@ -13,11 +13,15 @@
-- License along with this library; if not, write to the Free Software -- License along with this library; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-- --
-- $Id: add_ispublic.sql pboy $
ALTER TABLE forum_forums ADD is_public CHAR(1);
UPDATE forum_forums SET is_public = '1';
ALTER TABLE forum_forums MODIFY (is_public CHAR(1) NOT NULL);
ALTER TABLE forum_forums ALTER TABLE forum_forums
ADD COLUMN is_public CHAR(1) NOT NULL ADD CONSTRAINT forum_forums_is_public_c_284tm check(is_public in ('0', '1'));
CONSTRAINT forum_forums_is_public_c_284tm check(is_public in ('0', '1'));