001
014
015 package com.liferay.portal.upgrade.v4_3_0.util;
016
017 import java.sql.Types;
018
019
023 public class ImageTable {
024
025 public static String TABLE_NAME = "Image";
026
027 public static Object[][] TABLE_COLUMNS = {
028 {"imageId", new Integer(Types.BIGINT)},
029 {"modifiedDate", new Integer(Types.TIMESTAMP)},
030 {"text_", new Integer(Types.CLOB)},
031 {"type_", new Integer(Types.VARCHAR)},
032 {"height", new Integer(Types.INTEGER)},
033 {"width", new Integer(Types.INTEGER)},
034 {"size_", new Integer(Types.INTEGER)}
035 };
036
037 public static String TABLE_SQL_CREATE = "create table Image (imageId LONG not null primary key,modifiedDate DATE null,text_ TEXT null,type_ VARCHAR(75) null,height INTEGER,width INTEGER,size_ INTEGER)";
038
039 public static String TABLE_SQL_DROP = "drop table Image";
040
041 }