Skip to content

Commit

Permalink
Update pgroll spec (#1420)
Browse files Browse the repository at this point in the history
Co-authored-by: SferaDev <[email protected]>
  • Loading branch information
xata-bot and SferaDev authored Mar 26, 2024
1 parent 307038d commit c927299
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/pgroll/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export const schema = {
type: 'string'
},
up: {
default: '',
description: 'SQL expression for up migration',
type: 'string'
}
Expand All @@ -128,6 +129,7 @@ export const schema = {
type: 'string'
},
down: {
default: '',
description: 'SQL expression for down migration',
type: 'string'
},
Expand Down Expand Up @@ -156,6 +158,7 @@ export const schema = {
description: 'Add unique constraint to the column'
},
up: {
default: '',
description: 'SQL expression for up migration',
type: 'string'
}
Expand Down Expand Up @@ -271,6 +274,7 @@ export const schema = {
type: 'string'
},
down: {
default: '',
description: 'SQL expression for down migration',
type: 'string'
},
Expand All @@ -291,6 +295,7 @@ export const schema = {
type: 'string'
},
down: {
default: '',
description: 'SQL expression for down migration',
type: 'string'
},
Expand Down

0 comments on commit c927299

Please sign in to comment.