001
014
015 package com.liferay.portal.upgrade.v4_4_0.util;
016
017 import java.sql.Types;
018
019
023 public class DLFolderTable {
024
025 public static final String TABLE_NAME = "DLFolder";
026
027 public static final Object[][] TABLE_COLUMNS = {
028 {"uuid_", new Integer(Types.VARCHAR)},
029 {"folderId", new Integer(Types.BIGINT)},
030 {"groupId", new Integer(Types.BIGINT)},
031 {"companyId", new Integer(Types.BIGINT)},
032 {"userId", new Integer(Types.BIGINT)},
033 {"userName", new Integer(Types.VARCHAR)},
034 {"createDate", new Integer(Types.TIMESTAMP)},
035 {"modifiedDate", new Integer(Types.TIMESTAMP)},
036 {"parentFolderId", new Integer(Types.BIGINT)},
037 {"name", new Integer(Types.VARCHAR)},
038 {"description", new Integer(Types.VARCHAR)},
039 {"lastPostDate", new Integer(Types.TIMESTAMP)}
040 };
041
042 public static final String TABLE_SQL_CREATE = "create table DLFolder (uuid_ VARCHAR(75) null,folderId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,parentFolderId LONG,name VARCHAR(100) null,description STRING null,lastPostDate DATE null)";
043
044 public static final String TABLE_SQL_DROP = "drop table DLFolder";
045
046 }