/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.portal.upgrade.v6_1_0.util; import java.sql.Types; /** * @author Brian Wing Shun Chan * @generated */ public class JournalTemplateTable { public static final String TABLE_NAME = "JournalTemplate"; public static final Object[][] TABLE_COLUMNS = { {"uuid_", Types.VARCHAR}, {"id_", Types.BIGINT}, {"groupId", Types.BIGINT}, {"companyId", Types.BIGINT}, {"userId", Types.BIGINT}, {"userName", Types.VARCHAR}, {"createDate", Types.TIMESTAMP}, {"modifiedDate", Types.TIMESTAMP}, {"templateId", Types.VARCHAR}, {"structureId", Types.VARCHAR}, {"name", Types.VARCHAR}, {"description", Types.VARCHAR}, {"xsl", Types.CLOB}, {"langType", Types.VARCHAR}, {"cacheable", Types.BOOLEAN}, {"smallImage", Types.BOOLEAN}, {"smallImageId", Types.BIGINT}, {"smallImageURL", Types.VARCHAR} }; public static final String TABLE_SQL_CREATE = "create table JournalTemplate (uuid_ VARCHAR(75) null,id_ LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,templateId VARCHAR(75) null,structureId VARCHAR(75) null,name STRING null,description STRING null,xsl TEXT null,langType VARCHAR(75) null,cacheable BOOLEAN,smallImage BOOLEAN,smallImageId LONG,smallImageURL STRING null)"; public static final String TABLE_SQL_DROP = "drop table JournalTemplate"; public static final String[] TABLE_SQL_ADD_INDEXES = { "create index IX_77923653 on JournalTemplate (groupId)", "create index IX_1701CB2B on JournalTemplate (groupId, structureId)", "create unique index IX_E802AA3C on JournalTemplate (groupId, templateId)", "create index IX_25FFB6FA on JournalTemplate (smallImageId)", "create index IX_1B12CA20 on JournalTemplate (templateId)", "create index IX_2857419D on JournalTemplate (uuid_)", "create unique index IX_62D1B3AD on JournalTemplate (uuid_, groupId)" }; }