diff --git a/.liquibase/Data_alias/basic/2019.1.4/DSGVO/insert_DSGVO.xml b/.liquibase/Data_alias/basic/2019.1.4/DSGVO/insert_DSGVO.xml new file mode 100644 index 0000000000000000000000000000000000000000..b268177c97e29448f3a713d9bccffcf271fe0d15 --- /dev/null +++ b/.liquibase/Data_alias/basic/2019.1.4/DSGVO/insert_DSGVO.xml @@ -0,0 +1,18 @@ +<?xml version="1.1" encoding="UTF-8" standalone="no"?> +<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"> + <changeSet author="m.hofmann" id="e6b32d7d-298c-44a3-901f-88baa77cb6c3"> + <insert tableName="DSGVO"> + <column name="DSGVOID" value="59e2ac8e-d565-49e9-8fb8-d7e809fa0fab"/> + <column name="USER_NEW" value="Admin"/> + <column name="DATE_NEW" value="2019-06-03 06:57:51.882"/> + <column name="USER_EDIT" value="null"/> + <column name="DATE_EDIT" value="null"/> + <column name="ROW_ID" value="73d73404-e7f5-11e8-9f32-f2801f1b9fd1"/> + <column name="RIGHT" valueNumeric="0"/> + <column name="USE" valueNumeric="0"/> + <column name="TABLENAME" value="ADDRESS"/> + <column name="VALID_TO" value="2019-10-10 06:57:51.882"/> + <column name="CONTACT_ID" value="7c1efe4c-cc73-4e95-bdf0-208a3ff699b5"/> + </insert> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/.liquibase/Data_alias/basic/2019.1.4/changelog.xml b/.liquibase/Data_alias/basic/2019.1.4/changelog.xml index 6fe84b72362d9dcd203b73e4f046eaa6a0911421..0db6c67ca8dbf396a241b903e921eb8402224524 100644 --- a/.liquibase/Data_alias/basic/2019.1.4/changelog.xml +++ b/.liquibase/Data_alias/basic/2019.1.4/changelog.xml @@ -195,6 +195,7 @@ <include relativeToChangelogFile="true" file="newExampleData/changelog.xml" context="example"/> <include relativeToChangelogFile="true" file="DSGVO/create_DSGVO.xml"/> + <include relativeToChangelogFile="true" file="DSGVO/insert_DSGVO.xml"/> <include relativeToChangelogFile="true" file="DSGVO/init_dsgvoright_keyword.xml"/> <include relativeToChangelogFile="true" file="DSGVO/init_dsgvouse_keyword.xml"/> </databaseChangeLog> diff --git a/entity/DSGVO_entity/recordcontainers/db/onDBInsert.js b/entity/DSGVO_entity/recordcontainers/db/onDBInsert.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..dfe4146f4503a27f6834f9ca9fb2f0888d610055 100644 --- a/entity/DSGVO_entity/recordcontainers/db/onDBInsert.js +++ b/entity/DSGVO_entity/recordcontainers/db/onDBInsert.js @@ -0,0 +1,5 @@ +import("system.neon"); +import("system.vars"); + +if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW) + ; \ No newline at end of file