migrate

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrations

func Migrations() []string

Migrations returns the SQL statements needed to create the synchro infrastructure tables. The consuming application should run these through their own migration system.

func RLSMigrations

func RLSMigrations(policies []string) []string

RLSMigrations returns SQL statements to enable RLS policies. These are generated from a Registry and should be run after the application tables exist. Use synchro.GenerateRLSPolicies() to generate.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL