1
22
23 package com.liferay.portal.upgrade.v5_1_5.util;
24
25 import java.sql.Types;
26
27
32 public class TagsAssetTable {
33
34 public static final String TABLE_NAME = "TagsAsset";
35
36 public static final Object[][] TABLE_COLUMNS = {
37 {"assetId", new Integer(Types.BIGINT)},
38 {"groupId", new Integer(Types.BIGINT)},
39 {"companyId", new Integer(Types.BIGINT)},
40 {"userId", new Integer(Types.BIGINT)},
41 {"userName", new Integer(Types.VARCHAR)},
42 {"createDate", new Integer(Types.TIMESTAMP)},
43 {"modifiedDate", new Integer(Types.TIMESTAMP)},
44 {"classNameId", new Integer(Types.BIGINT)},
45 {"classPK", new Integer(Types.BIGINT)},
46 {"startDate", new Integer(Types.TIMESTAMP)},
47 {"endDate", new Integer(Types.TIMESTAMP)},
48 {"publishDate", new Integer(Types.TIMESTAMP)},
49 {"expirationDate", new Integer(Types.TIMESTAMP)},
50 {"mimeType", new Integer(Types.VARCHAR)},
51 {"title", new Integer(Types.VARCHAR)},
52 {"description", new Integer(Types.VARCHAR)},
53 {"summary", new Integer(Types.VARCHAR)},
54 {"url", new Integer(Types.VARCHAR)},
55 {"height", new Integer(Types.INTEGER)},
56 {"width", new Integer(Types.INTEGER)},
57 {"priority", new Integer(Types.DOUBLE)},
58 {"viewCount", new Integer(Types.INTEGER)}
59 };
60
61 public static final String TABLE_SQL_CREATE = "create table TagsAsset (assetId LONG not null primary key,groupId LONG,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(255) null,description STRING null,summary STRING null,url STRING null,height INTEGER,width INTEGER,priority DOUBLE,viewCount INTEGER)";
62
63 public static final String TABLE_SQL_DROP = "drop table TagsAsset";
64
65 }