001
014
015 package com.liferay.portal.upgrade.v6_0_0.util;
016
017 import java.sql.Types;
018
019
023 public class PollsQuestionTable {
024
025 public static final String TABLE_NAME = "PollsQuestion";
026
027 public static final Object[][] TABLE_COLUMNS = {
028 {"uuid_", new Integer(Types.VARCHAR)},
029 {"questionId", new Integer(Types.BIGINT)},
030 {"groupId", new Integer(Types.BIGINT)},
031 {"companyId", new Integer(Types.BIGINT)},
032 {"userId", new Integer(Types.BIGINT)},
033 {"userName", new Integer(Types.VARCHAR)},
034 {"createDate", new Integer(Types.TIMESTAMP)},
035 {"modifiedDate", new Integer(Types.TIMESTAMP)},
036 {"title", new Integer(Types.VARCHAR)},
037 {"description", new Integer(Types.VARCHAR)},
038 {"expirationDate", new Integer(Types.TIMESTAMP)},
039 {"lastVoteDate", new Integer(Types.TIMESTAMP)}
040 };
041
042 public static final String TABLE_SQL_CREATE = "create table PollsQuestion (uuid_ VARCHAR(75) null,questionId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,title STRING null,description STRING null,expirationDate DATE null,lastVoteDate DATE null)";
043
044 public static final String TABLE_SQL_DROP = "drop table PollsQuestion";
045
046 }