1
14
15 package com.liferay.portal.upgrade.v5_2_3.util;
16
17 import java.sql.Types;
18
19
25 public class DLFileVersionTable {
26
27 public static final String TABLE_NAME = "DLFileVersion";
28
29 public static final Object[][] TABLE_COLUMNS = {
30 {"fileVersionId", new Integer(Types.BIGINT)},
31 {"groupId", new Integer(Types.BIGINT)},
32 {"companyId", new Integer(Types.BIGINT)},
33 {"userId", new Integer(Types.BIGINT)},
34 {"userName", new Integer(Types.VARCHAR)},
35 {"createDate", new Integer(Types.TIMESTAMP)},
36 {"folderId", new Integer(Types.BIGINT)},
37 {"name", new Integer(Types.VARCHAR)},
38 {"version", new Integer(Types.DOUBLE)},
39 {"size_", new Integer(Types.INTEGER)}
40 };
41
42 public static final String TABLE_SQL_CREATE = "create table DLFileVersion (fileVersionId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,folderId LONG,name VARCHAR(255) null,version DOUBLE,size_ INTEGER)";
43
44 public static final String TABLE_SQL_DROP = "drop table DLFileVersion";
45
46 }