|
|
@@ -833,6 +833,8 @@ export interface JobQueueOptions {
|
|
|
*
|
|
|
* @since 1.3.0
|
|
|
* @docsCategory configuration
|
|
|
+ * @docsPage EntityOptions
|
|
|
+ * @docsWeight 0
|
|
|
*/
|
|
|
export interface EntityOptions {
|
|
|
/**
|
|
|
@@ -842,6 +844,13 @@ export interface EntityOptions {
|
|
|
* entities via the API. The default uses a simple auto-increment integer
|
|
|
* strategy.
|
|
|
*
|
|
|
+ * {{% alert "warning" %}}
|
|
|
+ * Note: changing from an integer-based strategy to a uuid-based strategy
|
|
|
+ * on an existing Vendure database will lead to problems with broken foreign-key
|
|
|
+ * references. To change primary key types like this, you'll need to start with
|
|
|
+ * a fresh database.
|
|
|
+ * {{% /alert %}}
|
|
|
+ *
|
|
|
* @since 1.3.0
|
|
|
* @default AutoIncrementIdStrategy
|
|
|
*/
|