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 ¶
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.
Click to show internal directories.
Click to hide internal directories.