001
014
015 package com.liferay.portal.upgrade.v4_3_0.util;
016
017 import java.sql.Types;
018
019
023 public class LayoutTable {
024
025 public static String TABLE_NAME = "Layout";
026
027 public static Object[][] TABLE_COLUMNS = {
028 {"plid", new Integer(Types.BIGINT)},
029 {"groupId", new Integer(Types.BIGINT)},
030 {"companyId", new Integer(Types.BIGINT)},
031 {"privateLayout", new Integer(Types.BOOLEAN)},
032 {"layoutId", new Integer(Types.BIGINT)},
033 {"parentLayoutId", new Integer(Types.BIGINT)},
034 {"name", new Integer(Types.VARCHAR)},
035 {"title", new Integer(Types.VARCHAR)},
036 {"type_", new Integer(Types.VARCHAR)},
037 {"typeSettings", new Integer(Types.CLOB)},
038 {"hidden_", new Integer(Types.BOOLEAN)},
039 {"friendlyURL", new Integer(Types.VARCHAR)},
040 {"iconImage", new Integer(Types.BOOLEAN)},
041 {"iconImageId", new Integer(Types.BIGINT)},
042 {"themeId", new Integer(Types.VARCHAR)},
043 {"colorSchemeId", new Integer(Types.VARCHAR)},
044 {"wapThemeId", new Integer(Types.VARCHAR)},
045 {"wapColorSchemeId", new Integer(Types.VARCHAR)},
046 {"css", new Integer(Types.VARCHAR)},
047 {"priority", new Integer(Types.INTEGER)}
048 };
049
050 public static String TABLE_SQL_CREATE = "create table Layout (plid LONG not null primary key,groupId LONG,companyId LONG,privateLayout BOOLEAN,layoutId LONG,parentLayoutId LONG,name STRING null,title STRING null,type_ VARCHAR(75) null,typeSettings TEXT null,hidden_ BOOLEAN,friendlyURL VARCHAR(100) null,iconImage BOOLEAN,iconImageId LONG,themeId VARCHAR(75) null,colorSchemeId VARCHAR(75) null,wapThemeId VARCHAR(75) null,wapColorSchemeId VARCHAR(75) null,css STRING null,priority INTEGER)";
051
052 public static String TABLE_SQL_DROP = "drop table Layout";
053
054 }