Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateEmqx ¶ added in v0.24.0
func MigrateEmqx()
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.
Click to show internal directories.
Click to hide internal directories.