001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.upgrade.v5_2_3.util;
016    
017    import java.sql.Types;
018    
019    /**
020     * @author        Brian Wing Shun Chan
021     * @generated
022     */
023    public class WikiPageTable {
024    
025            public static final String TABLE_NAME = "WikiPage";
026    
027            public static final Object[][] TABLE_COLUMNS = {
028                    {"uuid_", new Integer(Types.VARCHAR)},
029                    {"pageId", new Integer(Types.BIGINT)},
030                    {"resourcePrimKey", new Integer(Types.BIGINT)},
031                    {"groupId", new Integer(Types.BIGINT)},
032                    {"companyId", new Integer(Types.BIGINT)},
033                    {"userId", new Integer(Types.BIGINT)},
034                    {"userName", new Integer(Types.VARCHAR)},
035                    {"createDate", new Integer(Types.TIMESTAMP)},
036                    {"modifiedDate", new Integer(Types.TIMESTAMP)},
037                    {"nodeId", new Integer(Types.BIGINT)},
038                    {"title", new Integer(Types.VARCHAR)},
039                    {"version", new Integer(Types.DOUBLE)},
040                    {"minorEdit", new Integer(Types.BOOLEAN)},
041                    {"content", new Integer(Types.CLOB)},
042                    {"summary", new Integer(Types.VARCHAR)},
043                    {"format", new Integer(Types.VARCHAR)},
044                    {"head", new Integer(Types.BOOLEAN)},
045                    {"parentTitle", new Integer(Types.VARCHAR)},
046                    {"redirectTitle", new Integer(Types.VARCHAR)}
047            };
048    
049            public static final String TABLE_SQL_CREATE = "create table WikiPage (uuid_ VARCHAR(75) null,pageId LONG not null primary key,resourcePrimKey LONG,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,nodeId LONG,title VARCHAR(255) null,version DOUBLE,minorEdit BOOLEAN,content TEXT null,summary STRING null,format VARCHAR(75) null,head BOOLEAN,parentTitle VARCHAR(75) null,redirectTitle VARCHAR(75) null)";
050    
051            public static final String TABLE_SQL_DROP = "drop table WikiPage";
052    
053    }