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