Skip to main content

Module schema

Module schema 

Source
Expand description

Database schema definitions.

Contains SQL schema and migration logic for the RLM SQLite database.

Structs§

Migration
Migrations from older schema versions.

Constants§

CHECK_SCHEMA_SQL
SQL to check if schema is initialized.
CURRENT_SCHEMA_VERSION
Current schema version.
GET_VERSION_SQL
SQL to get schema version.
MIGRATIONS
Available migrations.
SCHEMA_SQL
SQL schema for initial database setup.
SET_VERSION_SQL
SQL to set schema version.

Functions§

get_migrations_from
Gets migrations needed to upgrade from a version.