The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: rewrite auth audit logs toggle to be in the positive sense (#39846)
Stojan Dimitrovski482e477d00d9
diff --git a/apps/studio/components/interfaces/Auth/AuditLogsForm.tsx b/apps/studio/components/interfaces/Auth/AuditLogsForm.tsxindex 1630654eae4..dab27c252ce 100644--- a/apps/studio/components/interfaces/Auth/AuditLogsForm.tsx+++ b/apps/studio/components/interfaces/Auth/AuditLogsForm.tsx@@ -119,10 +119,10 @@ export const AuditLogsForm = () => {render={({ field }) => (<FormItemLayoutlayout="flex-row-reverse"- label="Disable writing auth audit logs to project database"+ label="Write audit logs to the database"description={<p className="text-sm prose text-foreground-lighter max-w-full">- Audit logs will no longer be stored in the{' '}+ When enabled, audit logs are written to the{' '}<InlineLinktarget="_blank"rel="noopener noreferrer"@@ -132,21 +132,22 @@ export const AuditLogsForm = () => {{AUDIT_LOG_ENTRIES_TABLE}</code></InlineLink>{' '}- table in your project's database, which will reduce database storage- usage. Audit logs will subsequently still be available in the{' '}+ table.+ <br />+ You can disable this to reduce disk usage while still accessing logs+ through the{' '}<InlineLinkhref={`/project/${projectRef}/logs/explorer?q=select%0A++cast(timestamp+as+datetime)+as+timestamp%2C%0A++event_message%2C+metadata+%0Afrom+auth_audit_logs+%0Alimit+10%0A`}>- auth logs+ Auth logs.</InlineLink>- .</p>}><FormControl_Shadcn_><Switch- checked={field.value}- onCheckedChange={field.onChange}+ checked={!field.value}+ onCheckedChange={(value) => field.onChange(!value)}disabled={!canUpdateConfig}/></FormControl_Shadcn_>