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