001
014
015 package com.liferay.portal.upgrade.v6_0_0.util;
016
017 import java.sql.Types;
018
019
023 public class BlogsEntryTable {
024
025 public static final String TABLE_NAME = "BlogsEntry";
026
027 public static final Object[][] TABLE_COLUMNS = {
028 {"uuid_", new Integer(Types.VARCHAR)},
029 {"entryId", new Integer(Types.BIGINT)},
030 {"groupId", new Integer(Types.BIGINT)},
031 {"companyId", new Integer(Types.BIGINT)},
032 {"userId", new Integer(Types.BIGINT)},
033 {"userName", new Integer(Types.VARCHAR)},
034 {"createDate", new Integer(Types.TIMESTAMP)},
035 {"modifiedDate", new Integer(Types.TIMESTAMP)},
036 {"title", new Integer(Types.VARCHAR)},
037 {"urlTitle", new Integer(Types.VARCHAR)},
038 {"content", new Integer(Types.CLOB)},
039 {"displayDate", new Integer(Types.TIMESTAMP)},
040 {"allowPingbacks", new Integer(Types.BOOLEAN)},
041 {"allowTrackbacks", new Integer(Types.BOOLEAN)},
042 {"trackbacks", new Integer(Types.CLOB)},
043 {"status", new Integer(Types.INTEGER)},
044 {"statusByUserId", new Integer(Types.BIGINT)},
045 {"statusByUserName", new Integer(Types.VARCHAR)},
046 {"statusDate", new Integer(Types.TIMESTAMP)}
047 };
048
049 public static final String TABLE_SQL_CREATE = "create table BlogsEntry (uuid_ VARCHAR(75) null,entryId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,title VARCHAR(150) null,urlTitle VARCHAR(150) null,content TEXT null,displayDate DATE null,allowPingbacks BOOLEAN,allowTrackbacks BOOLEAN,trackbacks TEXT null,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null)";
050
051 public static final String TABLE_SQL_DROP = "drop table BlogsEntry";
052
053 }