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