001
014
015 package com.liferay.portal.upgrade.v6_0_0.util;
016
017 import java.sql.Types;
018
019
023 public class LayoutTable {
024
025 public static final String TABLE_NAME = "Layout";
026
027 public static final 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 {"description", new Integer(Types.VARCHAR)},
037 {"type_", new Integer(Types.VARCHAR)},
038 {"typeSettings", new Integer(Types.CLOB)},
039 {"hidden_", new Integer(Types.BOOLEAN)},
040 {"friendlyURL", new Integer(Types.VARCHAR)},
041 {"iconImage", new Integer(Types.BOOLEAN)},
042 {"iconImageId", new Integer(Types.BIGINT)},
043 {"themeId", new Integer(Types.VARCHAR)},
044 {"colorSchemeId", new Integer(Types.VARCHAR)},
045 {"wapThemeId", new Integer(Types.VARCHAR)},
046 {"wapColorSchemeId", new Integer(Types.VARCHAR)},
047 {"css", new Integer(Types.VARCHAR)},
048 {"priority", new Integer(Types.INTEGER)},
049 {"layoutPrototypeId", new Integer(Types.BIGINT)},
050 {"dlFolderId", new Integer(Types.BIGINT)}
051 };
052
053 public static final 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,description STRING null,type_ VARCHAR(75) null,typeSettings TEXT null,hidden_ BOOLEAN,friendlyURL VARCHAR(255) 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,layoutPrototypeId LONG,dlFolderId LONG)";
054
055 public static final String TABLE_SQL_DROP = "drop table Layout";
056
057 }