001
014
015 package com.liferay.portal.upgrade.v6_0_0.util;
016
017 import java.sql.Types;
018
019
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 {"status", new Integer(Types.INTEGER)},
043 {"statusByUserId", new Integer(Types.BIGINT)},
044 {"statusByUserName", new Integer(Types.VARCHAR)},
045 {"statusDate", new Integer(Types.TIMESTAMP)},
046 {"summary", new Integer(Types.VARCHAR)},
047 {"format", new Integer(Types.VARCHAR)},
048 {"head", new Integer(Types.BOOLEAN)},
049 {"parentTitle", new Integer(Types.VARCHAR)},
050 {"redirectTitle", new Integer(Types.VARCHAR)}
051 };
052
053 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,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,summary STRING null,format VARCHAR(75) null,head BOOLEAN,parentTitle VARCHAR(255) null,redirectTitle VARCHAR(255) null)";
054
055 public static final String TABLE_SQL_DROP = "drop table WikiPage";
056
057 }