1
22
23 package com.liferay.portal.upgrade.v4_4_0.util;
24
25 import java.sql.Types;
26
27
32 public class GroupTable {
33
34 public static final String TABLE_NAME = "Group_";
35
36 public static final Object[][] TABLE_COLUMNS = {
37 {"groupId", new Integer(Types.BIGINT)},
38 {"companyId", new Integer(Types.BIGINT)},
39 {"creatorUserId", new Integer(Types.BIGINT)},
40 {"classNameId", new Integer(Types.BIGINT)},
41 {"classPK", new Integer(Types.BIGINT)},
42 {"parentGroupId", new Integer(Types.BIGINT)},
43 {"liveGroupId", new Integer(Types.BIGINT)},
44 {"name", new Integer(Types.VARCHAR)},
45 {"description", new Integer(Types.VARCHAR)},
46 {"type_", new Integer(Types.INTEGER)},
47 {"typeSettings", new Integer(Types.VARCHAR)},
48 {"friendlyURL", new Integer(Types.VARCHAR)},
49 {"active_", new Integer(Types.BOOLEAN)}
50 };
51
52 public static final String TABLE_SQL_CREATE = "create table Group_ (groupId LONG not null primary key,companyId LONG,creatorUserId LONG,classNameId LONG,classPK LONG,parentGroupId LONG,liveGroupId LONG,name VARCHAR(75) null,description STRING null,type_ INTEGER,typeSettings STRING null,friendlyURL VARCHAR(100) null,active_ BOOLEAN)";
53
54 public static final String TABLE_SQL_DROP = "drop table Group_";
55
56 }