1
14
15 package com.liferay.portal.upgrade.v4_3_0.util;
16
17 import java.sql.Types;
18
19
25 public class ImageTable {
26
27 public static String TABLE_NAME = "Image";
28
29 public static Object[][] TABLE_COLUMNS = {
30 {"imageId", new Integer(Types.BIGINT)},
31 {"modifiedDate", new Integer(Types.TIMESTAMP)},
32 {"text_", new Integer(Types.CLOB)},
33 {"type_", new Integer(Types.VARCHAR)},
34 {"height", new Integer(Types.INTEGER)},
35 {"width", new Integer(Types.INTEGER)},
36 {"size_", new Integer(Types.INTEGER)}
37 };
38
39 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)";
40
41 public static String TABLE_SQL_DROP = "drop table Image";
42
43 }