Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support configuring database settings #56

Merged
merged 3 commits into from
Apr 3, 2024
Merged

Conversation

sweatybridge
Copy link
Collaborator

@sweatybridge sweatybridge commented Apr 1, 2024

What kind of change does this PR introduce?

feature

What is the new behavior?

resource "supabase_settings" "production" {
  project_ref = "mayuaycdtijbctgqbycg"

  database = jsonencode({
    statement_timeout = "10s"
  })
}

The database settings is special because the default values are automatically adjusted when you upgrade compute size. For this reason, the supabase api only returns the overrides instead of the full settings currently.

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from a team as a code owner April 1, 2024 09:43
@sweatybridge sweatybridge merged commit f0e5521 into main Apr 3, 2024
@sweatybridge sweatybridge deleted the db-settings branch April 3, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant