1
14
15 package com.liferay.portal.upgrade.v4_3_3.util;
16
17 import java.sql.Types;
18
19
25 public class TagsAssetTable {
26
27 public static String TABLE_NAME = "TagsAsset";
28
29 public static Object[][] TABLE_COLUMNS = {
30 {"assetId", new Integer(Types.BIGINT)},
31 {"companyId", new Integer(Types.BIGINT)},
32 {"userId", new Integer(Types.BIGINT)},
33 {"userName", new Integer(Types.VARCHAR)},
34 {"createDate", new Integer(Types.TIMESTAMP)},
35 {"modifiedDate", new Integer(Types.TIMESTAMP)},
36 {"classNameId", new Integer(Types.BIGINT)},
37 {"classPK", new Integer(Types.BIGINT)},
38 {"startDate", new Integer(Types.TIMESTAMP)},
39 {"endDate", new Integer(Types.TIMESTAMP)},
40 {"publishDate", new Integer(Types.TIMESTAMP)},
41 {"expirationDate", new Integer(Types.TIMESTAMP)},
42 {"mimeType", new Integer(Types.VARCHAR)},
43 {"title", new Integer(Types.VARCHAR)},
44 {"description", new Integer(Types.VARCHAR)},
45 {"summary", new Integer(Types.VARCHAR)},
46 {"url", new Integer(Types.VARCHAR)},
47 {"height", new Integer(Types.INTEGER)},
48 {"width", new Integer(Types.INTEGER)}
49 };
50
51 public static String TABLE_SQL_CREATE = "create table TagsAsset (assetId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,classNameId LONG,classPK LONG,startDate DATE null,endDate DATE null,publishDate DATE null,expirationDate DATE null,mimeType VARCHAR(75) null,title VARCHAR(300) null,description STRING null,summary STRING null,url STRING null,height INTEGER,width INTEGER)";
52
53 public static String TABLE_SQL_DROP = "drop table TagsAsset";
54
55 }