migrations

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMigrations

func GetMigrations() (source.Driver, error)

GetMigrations from SQL files.

func RunMigrations

func RunMigrations(database string) error

Run migrations for a given Spanner database.

func RunTestMigrations

func RunTestMigrations(t *testing.T)

RunTestMigrations for Spanner in a testing environment.

func SetupEmulator

func SetupEmulator(t *testing.T)

SetupEmulator for Spanner in a testing environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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