initial data import for hs-office tables (db-migration #10)
Co-authored-by: Michael Hoennig <michael@hoennig.de> Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net> Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/10 Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
This commit is contained in:
.aliases.gitignorebuild.gradleapplication.yml
doc
src
main
java
net
hostsharing
hsadminng
hs
office
bankaccount
contact
coopassets
coopshares
debitor
membership
migration
partner
person
relationship
sepamandate
resources
api-definition
hs-office
db
changelog
009-check-environment.sql010-context.sql050-rbac-base.sql051-rbac-user-grant.sql054-rbac-context.sql055-rbac-views.sql058-rbac-generators.sql080-rbac-global.sql123-test-package-rbac.sql133-test-domain-rbac.sql200-hs-office-contact.sql203-hs-office-contact-rbac.sql210-hs-office-person.sql213-hs-office-person-rbac.sql220-hs-office-partner.sql223-hs-office-partner-rbac.sql224-hs-office-partner-details-rbac.sql228-hs-office-partner-test-data.sql230-hs-office-relationship.sql238-hs-office-relationship-test-data.sql240-hs-office-bankaccount.sql256-hs-office-sepamandate-migration.sql270-hs-office-debitor.sql273-hs-office-debitor-rbac.sql278-hs-office-debitor-test-data.sql300-hs-office-membership.sql303-hs-office-membership-rbac.sql308-hs-office-membership-test-data.sql320-hs-office-coopassets.sqldb.changelog-master.yaml
test
java
net
hostsharing
hsadminng
arch
hs
office
coopassets
HsOfficeCoopAssetsTransactionEntityUnitTest.javaHsOfficeCoopAssetsTransactionRepositoryIntegrationTest.java
coopshares
HsOfficeCoopSharesTransactionEntityUnitTest.javaHsOfficeCoopSharesTransactionRepositoryIntegrationTest.java
debitor
HsOfficeDebitorControllerAcceptanceTest.javaHsOfficeDebitorEntityPatcherUnitTest.javaHsOfficeDebitorEntityUnitTest.javaHsOfficeDebitorRepositoryIntegrationTest.javaTestHsOfficeDebitor.java
membership
HsOfficeMembershipControllerAcceptanceTest.javaHsOfficeMembershipControllerRestTest.javaHsOfficeMembershipEntityPatcherUnitTest.javaHsOfficeMembershipEntityUnitTest.javaHsOfficeMembershipRepositoryIntegrationTest.java
migration
partner
HsOfficePartnerControllerAcceptanceTest.javaHsOfficePartnerDetailsEntityPatcherUnitTest.javaHsOfficePartnerDetailsEntityUnitTest.javaHsOfficePartnerEntityUnitTest.javaHsOfficePartnerRepositoryIntegrationTest.javaTestHsOfficePartner.java
person
relationship
HsOfficeRelationshipControllerAcceptanceTest.javaHsOfficeRelationshipEntityPatcherUnitTest.javaHsOfficeRelationshipRepositoryIntegrationTest.java
sepamandate
mapper
rbac
test
resources
@@ -4,7 +4,7 @@
|
||||
--changeset hs-office-membership-MAIN-TABLE:1 endDelimiter:--//
|
||||
-- ----------------------------------------------------------------------------
|
||||
|
||||
CREATE TYPE HsOfficeReasonForTermination AS ENUM ('NONE', 'CANCELLATION', 'TRANSFER', 'DEATH', 'LIQUIDATION', 'EXPULSION');
|
||||
CREATE TYPE HsOfficeReasonForTermination AS ENUM ('NONE', 'CANCELLATION', 'TRANSFER', 'DEATH', 'LIQUIDATION', 'EXPULSION', 'UNKNOWN');
|
||||
|
||||
CREATE CAST (character varying as HsOfficeReasonForTermination) WITH INOUT AS IMPLICIT;
|
||||
|
||||
@@ -15,7 +15,8 @@ create table if not exists hs_office_membership
|
||||
mainDebitorUuid uuid not null references hs_office_debitor(uuid),
|
||||
memberNumber numeric(5) not null unique,
|
||||
validity daterange not null,
|
||||
reasonForTermination HsOfficeReasonForTermination not null default 'NONE'
|
||||
reasonForTermination HsOfficeReasonForTermination not null default 'NONE',
|
||||
membershipFeeBillable boolean not null default true
|
||||
);
|
||||
--//
|
||||
|
||||
|
Reference in New Issue
Block a user