1
22
23 package com.liferay.portal.upgrade.v4_4_0.util;
24
25 import java.sql.Types;
26
27
32 public class DLFileEntryTable {
33
34 public static final String TABLE_NAME = "DLFileEntry";
35
36 public static final Object[][] TABLE_COLUMNS = {
37 {"uuid_", new Integer(Types.VARCHAR)},
38 {"fileEntryId", new Integer(Types.BIGINT)},
39 {"companyId", new Integer(Types.BIGINT)},
40 {"userId", new Integer(Types.BIGINT)},
41 {"userName", new Integer(Types.VARCHAR)},
42 {"versionUserId", new Integer(Types.BIGINT)},
43 {"versionUserName", new Integer(Types.VARCHAR)},
44 {"createDate", new Integer(Types.TIMESTAMP)},
45 {"modifiedDate", new Integer(Types.TIMESTAMP)},
46 {"folderId", new Integer(Types.BIGINT)},
47 {"name", new Integer(Types.VARCHAR)},
48 {"title", new Integer(Types.VARCHAR)},
49 {"description", new Integer(Types.VARCHAR)},
50 {"version", new Integer(Types.DOUBLE)},
51 {"size_", new Integer(Types.INTEGER)},
52 {"readCount", new Integer(Types.INTEGER)},
53 {"extraSettings", new Integer(Types.CLOB)}
54 };
55
56 public static final String TABLE_SQL_CREATE = "create table DLFileEntry (uuid_ VARCHAR(75) null,fileEntryId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,versionUserId LONG,versionUserName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,folderId LONG,name VARCHAR(300) null,title VARCHAR(300) null,description STRING null,version DOUBLE,size_ INTEGER,readCount INTEGER,extraSettings TEXT null)";
57
58 public static final String TABLE_SQL_DROP = "drop table DLFileEntry";
59
60 }