1
22
23 package com.liferay.portal.upgrade.v5_0_0.util;
24
25 import java.sql.Types;
26
27
32 public class SCProductVersionTable {
33
34 public static final String TABLE_NAME = "SCProductVersion";
35
36 public static final Object[][] TABLE_COLUMNS = {
37 {"productVersionId", new Integer(Types.BIGINT)},
38 {"companyId", new Integer(Types.BIGINT)},
39 {"userId", new Integer(Types.BIGINT)},
40 {"userName", new Integer(Types.VARCHAR)},
41 {"createDate", new Integer(Types.TIMESTAMP)},
42 {"modifiedDate", new Integer(Types.TIMESTAMP)},
43 {"productEntryId", new Integer(Types.BIGINT)},
44 {"version", new Integer(Types.VARCHAR)},
45 {"changeLog", new Integer(Types.VARCHAR)},
46 {"downloadPageURL", new Integer(Types.VARCHAR)},
47 {"directDownloadURL", new Integer(Types.VARCHAR)},
48 {"repoStoreArtifact", new Integer(Types.BOOLEAN)}
49 };
50
51 public static final String TABLE_SQL_CREATE = "create table SCProductVersion (productVersionId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,productEntryId LONG,version VARCHAR(75) null,changeLog STRING null,downloadPageURL STRING null,directDownloadURL VARCHAR(2000) null,repoStoreArtifact BOOLEAN)";
52
53 public static final String TABLE_SQL_DROP = "drop table SCProductVersion";
54
55 }