1
14
15 package com.liferay.portal.upgrade.v4_3_0.util;
16
17 import java.sql.Types;
18
19
25 public class PortletTable {
26
27 public static String TABLE_NAME = "Portlet";
28
29 public static Object[][] TABLE_COLUMNS = {
30 {"id_", new Integer(Types.BIGINT)},
31 {"companyId", new Integer(Types.BIGINT)},
32 {"portletId", new Integer(Types.VARCHAR)},
33 {"roles", new Integer(Types.VARCHAR)},
34 {"active_", new Integer(Types.BOOLEAN)}
35 };
36
37 public static String TABLE_SQL_CREATE = "create table Portlet (id_ LONG not null primary key,companyId LONG,portletId VARCHAR(200) null,roles STRING null,active_ BOOLEAN)";
38
39 public static String TABLE_SQL_DROP = "drop table Portlet";
40
41 }