1
14
15 package com.liferay.portal.upgrade.v5_2_5.util;
16
17 import java.sql.Types;
18
19
25 public class SocialActivityTable {
26
27 public static final String TABLE_NAME = "SocialActivity";
28
29 public static final Object[][] TABLE_COLUMNS = {
30 {"activityId", new Integer(Types.BIGINT)},
31 {"groupId", new Integer(Types.BIGINT)},
32 {"companyId", new Integer(Types.BIGINT)},
33 {"userId", new Integer(Types.BIGINT)},
34 {"createDate", new Integer(Types.BIGINT)},
35 {"mirrorActivityId", new Integer(Types.BIGINT)},
36 {"classNameId", new Integer(Types.BIGINT)},
37 {"classPK", new Integer(Types.BIGINT)},
38 {"type_", new Integer(Types.INTEGER)},
39 {"extraData", new Integer(Types.VARCHAR)},
40 {"receiverUserId", new Integer(Types.BIGINT)}
41 };
42
43 public static final String TABLE_SQL_CREATE = "create table SocialActivity (activityId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,createDate LONG,mirrorActivityId LONG,classNameId LONG,classPK LONG,type_ INTEGER,extraData STRING null,receiverUserId LONG)";
44
45 public static final String TABLE_SQL_DROP = "drop table SocialActivity";
46
47 }