migrate

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package migrate provides migration logic for both sqlite and legacy JSON-based notes used until v0.4.x releases

Index

Constants

This section is empty.

Variables

View Source
var LocalSequence = []migration{
	lm1,
	lm2,
	lm3,
}

LocalSequence is a list of local migrations to be run

Functions

func Legacy added in v0.4.5

func Legacy(ctx infra.DnoteCtx) error

Legacy performs migration on JSON-based dnote if necessary

func Run added in v0.4.5

func Run(ctx infra.DnoteCtx, migrations []migration) error

Run performs unrun migrations

Types

This section is empty.

Jump to

Keyboard shortcuts

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