001
014
015 package com.liferay.portal.upgrade.v4_3_0.util;
016
017 import java.sql.Types;
018
019
023 public class PollsChoiceTable {
024
025 public static String TABLE_NAME = "PollsChoice";
026
027 public static Object[][] TABLE_COLUMNS = {
028 {"choiceId", new Integer(Types.BIGINT)},
029 {"questionId", new Integer(Types.BIGINT)},
030 {"name", new Integer(Types.VARCHAR)},
031 {"description", new Integer(Types.VARCHAR)}
032 };
033
034 public static String TABLE_SQL_CREATE = "create table PollsChoice (choiceId LONG not null primary key,questionId LONG,name VARCHAR(75) null,description VARCHAR(1000) null)";
035
036 public static String TABLE_SQL_DROP = "drop table PollsChoice";
037
038 }