001
014
015 package com.liferay.portal.upgrade.v5_2_3.util;
016
017 import java.sql.Types;
018
019
023 public class DLFileVersionTable {
024
025 public static final String TABLE_NAME = "DLFileVersion";
026
027 public static final Object[][] TABLE_COLUMNS = {
028 {"fileVersionId", new Integer(Types.BIGINT)},
029 {"groupId", new Integer(Types.BIGINT)},
030 {"companyId", new Integer(Types.BIGINT)},
031 {"userId", new Integer(Types.BIGINT)},
032 {"userName", new Integer(Types.VARCHAR)},
033 {"createDate", new Integer(Types.TIMESTAMP)},
034 {"folderId", new Integer(Types.BIGINT)},
035 {"name", new Integer(Types.VARCHAR)},
036 {"version", new Integer(Types.DOUBLE)},
037 {"size_", new Integer(Types.INTEGER)}
038 };
039
040 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)";
041
042 public static final String TABLE_SQL_DROP = "drop table DLFileVersion";
043
044 }