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