diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 15d97bf8..c10bb6ba 100755 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -1987,5 +1987,12 @@ 644 + + + + src/core/resources/dbscripts/storage/resource.sql + ${pom.artifactId}-${pom.version}/dbscripts/storage/postgresql + + diff --git a/modules/distribution/src/core/resources/dbscripts/storage/resource.sql b/modules/distribution/src/core/resources/dbscripts/storage/resource.sql new file mode 100644 index 00000000..7ec87c48 --- /dev/null +++ b/modules/distribution/src/core/resources/dbscripts/storage/resource.sql @@ -0,0 +1,9 @@ +CREATE TABLE IF NOT EXISTS resource ( + uuid VARCHAR(250), + tenantId VARCHAR(250), + fileName VARCHAR(250), + contentLength INT, + contentType VARCHAR(150), + content BYTEA +) +;