001
014
015 package com.liferay.portal.upgrade.v5_2_3.util;
016
017 import java.sql.Types;
018
019
023 public class BookmarksEntryTable {
024
025 public static final String TABLE_NAME = "BookmarksEntry";
026
027 public static final Object[][] TABLE_COLUMNS = {
028 {"uuid_", new Integer(Types.VARCHAR)},
029 {"entryId", 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.TIMESTAMP)},
034 {"modifiedDate", new Integer(Types.TIMESTAMP)},
035 {"folderId", new Integer(Types.BIGINT)},
036 {"name", new Integer(Types.VARCHAR)},
037 {"url", new Integer(Types.VARCHAR)},
038 {"comments", new Integer(Types.VARCHAR)},
039 {"visits", new Integer(Types.INTEGER)},
040 {"priority", new Integer(Types.INTEGER)}
041 };
042
043 public static final String TABLE_SQL_CREATE = "create table BookmarksEntry (uuid_ VARCHAR(75) null,entryId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,createDate DATE null,modifiedDate DATE null,folderId LONG,name VARCHAR(255) null,url STRING null,comments STRING null,visits INTEGER,priority INTEGER)";
044
045 public static final String TABLE_SQL_DROP = "drop table BookmarksEntry";
046
047 }