From 7e09210c597b86480915e90963b3182c3c3130de Mon Sep 17 00:00:00 2001 From: Jan Dolezel Date: Thu, 3 Oct 2019 08:37:34 +0200 Subject: [PATCH] Marking storageParameters of materialized view as optional --- docs/mViews.md | 10 +++++----- index.d.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/mViews.md b/docs/mViews.md index 7656d189..ecffe4af 100644 --- a/docs/mViews.md +++ b/docs/mViews.md @@ -10,8 +10,8 @@ - `options` _[object]_ - options: - `ifNotExists` _[boolean]_ - default false - `columns` _[string or array]_ - use if you want to name columns differently then inferred from definition - - `tablespace` _[string]_ - - `storageParameters` _[object]_ - key value pairs of [Storage Parameters](https://www.postgresql.org/docs/current/static/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS) + - `tablespace` _[string]_ - optional + - `storageParameters` _[object]_ - optional key value pairs of [Storage Parameters](https://www.postgresql.org/docs/current/static/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS) - `data` _[boolean]_ - default undefined - `definition` _[string]_ - SQL of SELECT statement @@ -40,9 +40,9 @@ - `viewName` _[[Name](migrations.md#type)]_ - name of the view to alter - `options` _[object]_ - options: - - `cluster` _[string]_ - index name for clustering - - `extension` _[string]_ - name of extension view is dependent on - - `storageParameters` _[object]_ - key value pairs of [Storage Parameters](https://www.postgresql.org/docs/current/static/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS) + - `cluster` _[string]_ - optional index name for clustering + - `extension` _[string]_ - optional name of extension view is dependent on + - `storageParameters` _[object]_ - optional key value pairs of [Storage Parameters](https://www.postgresql.org/docs/current/static/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS) --- diff --git a/index.d.ts b/index.d.ts index c381b864..70f719d2 100644 --- a/index.d.ts +++ b/index.d.ts @@ -391,7 +391,7 @@ export interface CreateMaterializedViewOptions { ifNotExists?: boolean columns?: string | string[] tablespace?: string - storageParameters: object + storageParameters?: object data?: boolean }