
META-INF.sql.tables.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.discount.service
Show all versions of com.liferay.commerce.discount.service
Liferay Commerce Discount Service
create table CDiscountCAccountGroupRel (
mvccVersion LONG default 0 not null,
CDiscountCAccountGroupRelId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
commerceDiscountId LONG,
commerceAccountGroupId LONG
);
create table CommerceDiscount (
mvccVersion LONG default 0 not null,
uuid_ VARCHAR(75) null,
externalReferenceCode VARCHAR(75) null,
commerceDiscountId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
title VARCHAR(75) null,
target VARCHAR(75) null,
useCouponCode BOOLEAN,
couponCode VARCHAR(75) null,
usePercentage BOOLEAN,
maximumDiscountAmount BIGDECIMAL null,
levelType VARCHAR(75) null,
level1 BIGDECIMAL null,
level2 BIGDECIMAL null,
level3 BIGDECIMAL null,
level4 BIGDECIMAL null,
limitationType VARCHAR(75) null,
limitationTimes INTEGER,
limitationTimesPerAccount INTEGER,
numberOfUse INTEGER,
rulesConjunction BOOLEAN,
active_ BOOLEAN,
displayDate DATE null,
expirationDate DATE null,
lastPublishDate DATE null,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table CommerceDiscountAccountRel (
mvccVersion LONG default 0 not null,
uuid_ VARCHAR(75) null,
commerceDiscountAccountRelId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
commerceAccountId LONG,
commerceDiscountId LONG,
order_ INTEGER,
lastPublishDate DATE null
);
create table CommerceDiscountOrderTypeRel (
mvccVersion LONG default 0 not null,
uuid_ VARCHAR(75) null,
commerceDiscountOrderTypeRelId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
commerceDiscountId LONG,
commerceOrderTypeId LONG,
priority INTEGER,
lastPublishDate DATE null
);
create table CommerceDiscountRel (
mvccVersion LONG default 0 not null,
commerceDiscountRelId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
commerceDiscountId LONG,
classNameId LONG,
classPK LONG,
typeSettings TEXT null
);
create table CommerceDiscountRule (
mvccVersion LONG default 0 not null,
commerceDiscountRuleId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
name VARCHAR(75) null,
commerceDiscountId LONG,
type_ VARCHAR(75) null,
typeSettings TEXT null
);
create table CommerceDiscountUsageEntry (
mvccVersion LONG default 0 not null,
commerceDiscountUsageEntryId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
commerceAccountId LONG,
commerceOrderId LONG,
commerceDiscountId LONG
);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy