1
22
23 package com.liferay.portal.upgrade.v5_1_5.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 {"groupId", new Integer(Types.BIGINT)},
40 {"companyId", new Integer(Types.BIGINT)},
41 {"userId", new Integer(Types.BIGINT)},
42 {"userName", new Integer(Types.VARCHAR)},
43 {"versionUserId", new Integer(Types.BIGINT)},
44 {"versionUserName", new Integer(Types.VARCHAR)},
45 {"createDate", new Integer(Types.TIMESTAMP)},
46 {"modifiedDate", new Integer(Types.TIMESTAMP)},
47 {"folderId", new Integer(Types.BIGINT)},
48 {"name", new Integer(Types.VARCHAR)},
49 {"title", new Integer(Types.VARCHAR)},
50 {"description", new Integer(Types.VARCHAR)},
51 {"version", new Integer(Types.DOUBLE)},
52 {"size_", new Integer(Types.INTEGER)},
53 {"readCount", new Integer(Types.INTEGER)},
54 {"extraSettings", new Integer(Types.CLOB)}
55 };
56
57 public static final String TABLE_SQL_CREATE = "create table DLFileEntry (uuid_ VARCHAR(75) null,fileEntryId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,versionUserId LONG,versionUserName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,folderId LONG,name VARCHAR(255) null,title VARCHAR(255) null,description STRING null,version DOUBLE,size_ INTEGER,readCount INTEGER,extraSettings TEXT null)";
58
59 public static final String TABLE_SQL_DROP = "drop table DLFileEntry";
60
61 }