From d508285f58c14fc42625925de19c7fd90bf8b4c7 Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Mon, 13 Apr 2020 15:54:08 -0400 Subject: [PATCH] Additional docs on table creation when using the tablePrefix prop Resolves #653 --- spring-cloud-task-docs/src/main/asciidoc/features.adoc | 8 +++++++- spring-cloud-task-docs/src/main/asciidoc/index.adoc | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/spring-cloud-task-docs/src/main/asciidoc/features.adoc b/spring-cloud-task-docs/src/main/asciidoc/features.adoc index a0aed331..117bdd43 100644 --- a/spring-cloud-task-docs/src/main/asciidoc/features.adoc +++ b/spring-cloud-task-docs/src/main/asciidoc/features.adoc @@ -149,6 +149,13 @@ by setting the `spring.cloud.task.tablePrefix` to the prefix you need, as follow `spring.cloud.task.tablePrefix=yourPrefix` +By using the `spring.cloud.task.tablePrefix`, a user assumes the responsibility to +create the task tables that meet both the criteria for the task table schema but +with modifications that are required for a user's business needs. +You can utilize the Spring Cloud Task Schema DDL as a guide when creating your own Task DDL as seen +https://github.com/spring-cloud/spring-cloud-task/tree/master/spring-cloud-task-core/src/main/resources/org/springframework/cloud/task[here]. + + [[features-table-initialization]] === Enable/Disable table initialization In cases where you are creating the task tables and do not wish for Spring Cloud Task to @@ -159,7 +166,6 @@ create them at task startup, set the `spring.cloud.task.initialize-enabled` prop It defaults to `true`. - NOTE: The property `spring.cloud.task.initialize.enable` has been deprecated. [[features-generated_task_id]] diff --git a/spring-cloud-task-docs/src/main/asciidoc/index.adoc b/spring-cloud-task-docs/src/main/asciidoc/index.adoc index d188e93f..e1361a54 100644 --- a/spring-cloud-task-docs/src/main/asciidoc/index.adoc +++ b/spring-cloud-task-docs/src/main/asciidoc/index.adoc @@ -39,7 +39,7 @@ Michael Minella, Glenn Renfro, Jay Bryant :attributes: allow-uri-read // ====================================================================================== -(C) 2009-2018 Pivotal Software, Inc. All rights reserved. +(C) 2009-2020 VMware, Inc. All rights reserved. Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further