1
22
23 package com.liferay.portal.upgrade.v5_1_0.util;
24
25 import java.sql.Types;
26
27
32 public class BlogsEntryTable {
33
34 public static final String TABLE_NAME = "BlogsEntry";
35
36 public static final Object[][] TABLE_COLUMNS = {
37 {"uuid_", new Integer(Types.VARCHAR)},
38 {"entryId", new Integer(Types.BIGINT)},
39 {"groupId", new Integer(Types.BIGINT)},
40 {"companyId", new Integer(Types.BIGINT)},
41 {"userId", new Integer(Types.BIGINT)},
42 {"userName", new Integer(Types.VARCHAR)},
43 {"createDate", new Integer(Types.TIMESTAMP)},
44 {"modifiedDate", new Integer(Types.TIMESTAMP)},
45 {"title", new Integer(Types.VARCHAR)},
46 {"urlTitle", new Integer(Types.VARCHAR)},
47 {"content", new Integer(Types.CLOB)},
48 {"displayDate", new Integer(Types.TIMESTAMP)},
49 {"draft", new Integer(Types.BOOLEAN)},
50 {"allowTrackbacks", new Integer(Types.BOOLEAN)},
51 {"trackbacks", new Integer(Types.CLOB)}
52 };
53
54 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)";
55
56 public static final String TABLE_SQL_DROP = "drop table BlogsEntry";
57
58 }