SCHEMA 30: local setting for urls_are_normalized

This commit is contained in:
Mike Dilger 2023-03-08 18:48:49 +13:00
parent a9834ca004
commit cbfe21f25b
2 changed files with 3 additions and 1 deletions

View File

@ -153,7 +153,7 @@ pub async fn prune() -> Result<(), Error> {
Ok(())
}
const UPGRADE_SQL: [&str; 29] = [
const UPGRADE_SQL: [&str; 30] = [
include_str!("sql/schema1.sql"),
include_str!("sql/schema2.sql"),
include_str!("sql/schema3.sql"),
@ -183,4 +183,5 @@ const UPGRADE_SQL: [&str; 29] = [
include_str!("sql/schema27.sql"),
include_str!("sql/schema28.sql"),
include_str!("sql/schema29.sql"),
include_str!("sql/schema30.sql"),
];

1
src/db/sql/schema30.sql Normal file
View File

@ -0,0 +1 @@
ALTER TABLE local_settings ADD COLUMN urls_are_normalized INTEGER NOT NULL DEFAULT 0;