001
014
015 package com.liferay.portal.upgrade.v5_2_3.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 {"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 }