1
22
23 package com.liferay.portal.upgrade.v4_3_0.util;
24
25 import java.sql.Types;
26
27
32 public class GroupTable {
33
34 public static String TABLE_NAME = "Group_";
35
36 public static 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.VARCHAR)},
47 {"friendlyURL", new Integer(Types.VARCHAR)},
48 {"active_", new Integer(Types.BOOLEAN)}
49 };
50
51 public static 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_ VARCHAR(75) null,friendlyURL VARCHAR(100) null,active_ BOOLEAN)";
52
53 public static String TABLE_SQL_DROP = "drop table Group_";
54
55 }