migrate

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateEmqx added in v0.24.0

func MigrateEmqx()

func Run

func Run()

Run - runs all migrations

func ToSQLSchema added in v0.99.0

func ToSQLSchema() error

ToSQLSchema migrates the data from key-value db to sql db.

This function archives the old data and does not delete it.

Based on the db server, the archival is done in the following way:

1. Sqlite: Moves the old data to a netmaker_archive.db file.

2. Postgres: Moves the data to a netmaker_archive schema within the same database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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