1
14
15 package com.liferay.portal.upgrade.v4_3_0.util;
16
17 import java.sql.Types;
18
19
25 public class RatingsStatsTable {
26
27 public static String TABLE_NAME = "RatingsStats";
28
29 public static Object[][] TABLE_COLUMNS = {
30 {"statsId", new Integer(Types.BIGINT)},
31 {"classNameId", new Integer(Types.BIGINT)},
32 {"classPK", new Integer(Types.BIGINT)},
33 {"totalEntries", new Integer(Types.INTEGER)},
34 {"totalScore", new Integer(Types.DOUBLE)},
35 {"averageScore", new Integer(Types.DOUBLE)}
36 };
37
38 public static String TABLE_SQL_CREATE = "create table RatingsStats (statsId LONG not null primary key,classNameId LONG,classPK LONG,totalEntries INTEGER,totalScore DOUBLE,averageScore DOUBLE)";
39
40 public static String TABLE_SQL_DROP = "drop table RatingsStats";
41
42 }