1
14
15 package com.liferay.portal.upgrade.v4_3_0.util;
16
17 import java.sql.Types;
18
19
25 public class LayoutTable {
26
27 public static String TABLE_NAME = "Layout";
28
29 public static Object[][] TABLE_COLUMNS = {
30 {"plid", new Integer(Types.BIGINT)},
31 {"groupId", new Integer(Types.BIGINT)},
32 {"companyId", new Integer(Types.BIGINT)},
33 {"privateLayout", new Integer(Types.BOOLEAN)},
34 {"layoutId", new Integer(Types.BIGINT)},
35 {"parentLayoutId", new Integer(Types.BIGINT)},
36 {"name", new Integer(Types.VARCHAR)},
37 {"title", new Integer(Types.VARCHAR)},
38 {"type_", new Integer(Types.VARCHAR)},
39 {"typeSettings", new Integer(Types.CLOB)},
40 {"hidden_", new Integer(Types.BOOLEAN)},
41 {"friendlyURL", new Integer(Types.VARCHAR)},
42 {"iconImage", new Integer(Types.BOOLEAN)},
43 {"iconImageId", new Integer(Types.BIGINT)},
44 {"themeId", new Integer(Types.VARCHAR)},
45 {"colorSchemeId", new Integer(Types.VARCHAR)},
46 {"wapThemeId", new Integer(Types.VARCHAR)},
47 {"wapColorSchemeId", new Integer(Types.VARCHAR)},
48 {"css", new Integer(Types.VARCHAR)},
49 {"priority", new Integer(Types.INTEGER)}
50 };
51
52 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)";
53
54 public static String TABLE_SQL_DROP = "drop table Layout";
55
56 }