001
014
015 package com.liferay.portal.upgrade.v5_1_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 {"draft", new Integer(Types.BOOLEAN)},
041 {"allowTrackbacks", new Integer(Types.BOOLEAN)},
042 {"trackbacks", new Integer(Types.CLOB)}
043 };
044
045 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,draft BOOLEAN,allowTrackbacks BOOLEAN,trackbacks TEXT null)";
046
047 public static final String TABLE_SQL_DROP = "drop table BlogsEntry";
048
049 }