Import Serverfunktionen angelegt

This commit is contained in:
2026-08-20 23:21:09 +02:00
parent 9de53394a3
commit 57faec71f8
106 changed files with 31891 additions and 7 deletions
+7 -7
View File
@@ -10,7 +10,7 @@ CREATE SEQUENCE global_id_seq
-- Value Table
CREATE TABLE IF NOT EXISTS values (
id BIGINT PRIMARY KEY DEFAULT nextval('global_id_seq'),
Label TEXT,
label TEXT,
description TEXT,
propertyId BIGINT
);
@@ -18,7 +18,7 @@ CREATE TABLE IF NOT EXISTS values (
-- Property Table
CREATE TABLE IF NOT EXISTS properties (
id BIGINT PRIMARY KEY DEFAULT nextval('global_id_seq'),
Label TEXT,
label TEXT,
description TEXT,
propertyTypeId BIGINT,
productId BIGINT,
@@ -28,7 +28,7 @@ CREATE TABLE IF NOT EXISTS properties (
-- PropertyType Table
CREATE TABLE IF NOT EXISTS propertyTypes(
id BIGINT PRIMARY KEY DEFAULT nextval('global_id_seq'),
Label TEXT,
label TEXT,
description TEXT,
propertyGroupId BIGINT
);
@@ -36,7 +36,7 @@ CREATE TABLE IF NOT EXISTS propertyTypes(
-- PropertyTypeGroupTable
CREATE TABLE IF NOT EXISTS propertyTypeGroups (
id BIGINT PRIMARY KEY DEFAULT nextval('global_id_seq'),
Label TEXT,
label TEXT,
description TEXT,
parentGroupId BIGINT
);
@@ -45,7 +45,7 @@ CREATE TABLE IF NOT EXISTS propertyTypeGroups (
-- Product Table
CREATE TABLE IF NOT EXISTS products (
id BIGINT PRIMARY KEY DEFAULT nextval('global_id_seq'),
Label TEXT,
label TEXT,
externalId TEXT,
description TEXT,
productGroupId BIGINT
@@ -54,7 +54,7 @@ CREATE TABLE IF NOT EXISTS products (
-- ProductGroup Table
CREATE TABLE IF NOT EXISTS productGroups (
id BIGINT PRIMARY KEY DEFAULT nextval('global_id_seq'),
Label TEXT,
label TEXT,
description TEXT,
parentGroupId BIGINT
);
@@ -62,7 +62,7 @@ CREATE TABLE IF NOT EXISTS productGroups (
-- Media Table
CREATE TABLE IF NOT EXISTS media (
id BIGINT PRIMARY KEY DEFAULT nextval('global_id_seq'),
Label TEXT,
label TEXT,
description TEXT,
media TEXT,
mediaType TEXT,