1
22
23 package com.liferay.portal.upgrade.v5_0_0.util;
24
25 import java.sql.Types;
26
27
32 public class LayoutSetTable {
33
34 public static final String TABLE_NAME = "LayoutSet";
35
36 public static final Object[][] TABLE_COLUMNS = {
37 {"layoutSetId", new Integer(Types.BIGINT)},
38 {"groupId", new Integer(Types.BIGINT)},
39 {"companyId", new Integer(Types.BIGINT)},
40 {"privateLayout", new Integer(Types.BOOLEAN)},
41 {"logo", new Integer(Types.BOOLEAN)},
42 {"logoId", new Integer(Types.BIGINT)},
43 {"themeId", new Integer(Types.VARCHAR)},
44 {"colorSchemeId", new Integer(Types.VARCHAR)},
45 {"wapThemeId", new Integer(Types.VARCHAR)},
46 {"wapColorSchemeId", new Integer(Types.VARCHAR)},
47 {"css", new Integer(Types.VARCHAR)},
48 {"pageCount", new Integer(Types.INTEGER)},
49 {"virtualHost", new Integer(Types.VARCHAR)}
50 };
51
52 public static final String TABLE_SQL_CREATE = "create table LayoutSet (layoutSetId LONG not null primary key,groupId LONG,companyId LONG,privateLayout BOOLEAN,logo BOOLEAN,logoId LONG,themeId VARCHAR(75) null,colorSchemeId VARCHAR(75) null,wapThemeId VARCHAR(75) null,wapColorSchemeId VARCHAR(75) null,css STRING null,pageCount INTEGER,virtualHost VARCHAR(75) null)";
53
54 public static final String TABLE_SQL_DROP = "drop table LayoutSet";
55
56 }