001
014
015 package com.liferay.portal.upgrade.v6_0_0.util;
016
017 import java.sql.Types;
018
019
023 public class SocialRequestTable {
024
025 public static final String TABLE_NAME = "SocialRequest";
026
027 public static final Object[][] TABLE_COLUMNS = {
028 {"uuid_", new Integer(Types.VARCHAR)},
029 {"requestId", new Integer(Types.BIGINT)},
030 {"groupId", new Integer(Types.BIGINT)},
031 {"companyId", new Integer(Types.BIGINT)},
032 {"userId", new Integer(Types.BIGINT)},
033 {"createDate", new Integer(Types.BIGINT)},
034 {"modifiedDate", new Integer(Types.BIGINT)},
035 {"classNameId", new Integer(Types.BIGINT)},
036 {"classPK", new Integer(Types.BIGINT)},
037 {"type_", new Integer(Types.INTEGER)},
038 {"extraData", new Integer(Types.VARCHAR)},
039 {"receiverUserId", new Integer(Types.BIGINT)},
040 {"status", new Integer(Types.INTEGER)}
041 };
042
043 public static final String TABLE_SQL_CREATE = "create table SocialRequest (uuid_ VARCHAR(75) null,requestId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,createDate LONG,modifiedDate LONG,classNameId LONG,classPK LONG,type_ INTEGER,extraData STRING null,receiverUserId LONG,status INTEGER)";
044
045 public static final String TABLE_SQL_DROP = "drop table SocialRequest";
046
047 }