META-INF.sql.tables.sql Maven / Gradle / Ivy
create table AccountEntry (
mvccVersion LONG default 0 not null,
externalReferenceCode VARCHAR(75) null,
accountEntryId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
defaultBillingAddressId LONG,
defaultShippingAddressId LONG,
parentAccountEntryId LONG,
description STRING null,
domains STRING null,
emailAddress VARCHAR(254) null,
logoId LONG,
name VARCHAR(100) null,
taxExemptionCode VARCHAR(75) null,
taxIdNumber VARCHAR(75) null,
type_ VARCHAR(75) null,
status INTEGER
);
create table AccountEntryOrganizationRel (
mvccVersion LONG default 0 not null,
accountEntryOrganizationRelId LONG not null primary key,
companyId LONG,
accountEntryId LONG,
organizationId LONG
);
create table AccountEntryUserRel (
mvccVersion LONG default 0 not null,
accountEntryUserRelId LONG not null primary key,
companyId LONG,
accountEntryId LONG,
accountUserId LONG
);
create table AccountGroup (
mvccVersion LONG default 0 not null,
externalReferenceCode VARCHAR(75) null,
accountGroupId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
defaultAccountGroup BOOLEAN,
description VARCHAR(75) null,
name VARCHAR(75) null,
type_ VARCHAR(75) null
);
create table AccountGroupRel (
mvccVersion LONG default 0 not null,
accountGroupRelId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
accountGroupId LONG,
classNameId LONG,
classPK LONG
);
create table AccountRole (
mvccVersion LONG default 0 not null,
accountRoleId LONG not null primary key,
companyId LONG,
accountEntryId LONG,
roleId LONG
);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy