7 lines
417 B
SQL
7 lines
417 B
SQL
-- Automatic migration from the 0.0.1 Rust schema (schema v1) to 0.0.2 (schema v2).
|
|
-- The application applies the equivalent steps transactionally at startup.
|
|
ALTER TABLE global_settings ADD COLUMN default_routeros_username TEXT;
|
|
ALTER TABLE global_settings ADD COLUMN default_routeros_password TEXT;
|
|
UPDATE schema_info SET schema_version = 2
|
|
WHERE id = 1 AND application = 'mikrotik-backup' AND schema_version = 1;
|