fix: restore schema.sql to exact v0.2.4 bytes for migration checksum (v0.2.7)
Some checks failed
Release / build (windows-latest) (push) Has been cancelled

v0.2.6 still had comment lines in schema.sql that changed the SHA-384
checksum. sqlx requires byte-for-byte match with the originally applied
migration SQL. schema.sql is now identical to the v0.2.4 original.

Migrations 4 (is_inputable column) and 5 (import_config_templates table)
in lib.rs handle adding these to existing databases.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Le-King-Fu 2026-02-14 17:23:36 +00:00
parent 86f3d88be9
commit c7f7bab98f
5 changed files with 4 additions and 7 deletions

View file

@ -1,7 +1,7 @@
{
"name": "simpl_result_scaffold",
"private": true,
"version": "0.2.6",
"version": "0.2.7",
"type": "module",
"scripts": {
"dev": "vite",

2
src-tauri/Cargo.lock generated
View file

@ -3770,7 +3770,7 @@ checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
[[package]]
name = "simpl-result"
version = "0.2.5"
version = "0.2.7"
dependencies = [
"encoding_rs",
"serde",

View file

@ -1,6 +1,6 @@
[package]
name = "simpl-result"
version = "0.2.6"
version = "0.2.7"
description = "Personal finance management app"
authors = ["you"]
edition = "2021"

View file

@ -38,7 +38,6 @@ CREATE TABLE IF NOT EXISTS categories (
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (parent_id) REFERENCES categories(id) ON DELETE SET NULL
);
-- NOTE: is_inputable column added by migration 4
CREATE TABLE IF NOT EXISTS suppliers (
id INTEGER PRIMARY KEY AUTOINCREMENT,
@ -137,8 +136,6 @@ CREATE TABLE IF NOT EXISTS budget_template_entries (
UNIQUE(template_id, category_id)
);
-- NOTE: import_config_templates table created by migration 5
CREATE TABLE IF NOT EXISTS user_preferences (
key TEXT PRIMARY KEY,
value TEXT NOT NULL,

View file

@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Simpl Résultat",
"version": "0.2.6",
"version": "0.2.7",
"identifier": "com.simpl.resultat",
"build": {
"beforeDevCommand": "npm run dev",