001
014
015 package com.liferay.portal.upgrade.v4_3_0.util;
016
017 import java.sql.Types;
018
019
023 public class CountryTable {
024
025 public static String TABLE_NAME = "Country";
026
027 public static Object[][] TABLE_COLUMNS = {
028 {"countryId", new Integer(Types.BIGINT)},
029 {"name", new Integer(Types.VARCHAR)},
030 {"a2", new Integer(Types.VARCHAR)},
031 {"a3", new Integer(Types.VARCHAR)},
032 {"number_", new Integer(Types.VARCHAR)},
033 {"idd_", new Integer(Types.VARCHAR)},
034 {"active_", new Integer(Types.BOOLEAN)}
035 };
036
037 public static String TABLE_SQL_CREATE = "create table Country (countryId LONG not null primary key,name VARCHAR(75) null,a2 VARCHAR(75) null,a3 VARCHAR(75) null,number_ VARCHAR(75) null,idd_ VARCHAR(75) null,active_ BOOLEAN)";
038
039 public static String TABLE_SQL_DROP = "drop table Country";
040
041 }