Skip to content

Commit 5eba463

Browse files
Add default database value
1 parent 0c82d61 commit 5eba463

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

postgresql/resource_postgresql_script.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func resourcePostgreSQLScript() *schema.Resource {
3333
Type: schema.TypeString,
3434
Optional: true,
3535
Computed: true,
36+
Default: "postgres",
3637
Description: "The database to execute commands in (defaults to provider's configured database)",
3738
},
3839
scriptCommandsAttr: {

0 commit comments

Comments
 (0)