1
14
15 package com.liferay.portal.upgrade.v4_3_0.util;
16
17 import java.sql.Types;
18
19
25 public class MBStatsUserTable {
26
27 public static String TABLE_NAME = "MBStatsUser";
28
29 public static Object[][] TABLE_COLUMNS = {
30 {"statsUserId", new Integer(Types.BIGINT)},
31 {"groupId", new Integer(Types.BIGINT)},
32 {"userId", new Integer(Types.BIGINT)},
33 {"messageCount", new Integer(Types.INTEGER)},
34 {"lastPostDate", new Integer(Types.TIMESTAMP)}
35 };
36
37 public static String TABLE_SQL_CREATE = "create table MBStatsUser (statsUserId LONG not null primary key,groupId LONG,userId LONG,messageCount INTEGER,lastPostDate DATE null)";
38
39 public static String TABLE_SQL_DROP = "drop table MBStatsUser";
40
41 }