Skip to content

Commit

Permalink
Marking storageParameters of materialized view as optional (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolezel authored Oct 3, 2019
1 parent 2c98f2b commit d6ba8c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/mViews.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

---

Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export interface CreateMaterializedViewOptions {
ifNotExists?: boolean
columns?: string | string[]
tablespace?: string
storageParameters: object
storageParameters?: object
data?: boolean
}

Expand Down

0 comments on commit d6ba8c0

Please sign in to comment.