Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

498 B
Raw Blame
<?php
// This migration adds a new table to store the display and experimental settings
// This settings will now be persisted across sessions and devices

$db->exec('CREATE TABLE IF NOT EXISTS settings (
    dark_theme BOOLEAN DEFAULT 0,
    monthly_price BOOLEAN DEFAULT 0,
    convert_currency BOOLEAN DEFAULT 0,
    remove_background BOOLEAN DEFAULT 0
)');


$db->exec('INSERT INTO settings (dark_theme, monthly_price, convert_currency, remove_background) VALUES (0, 0, 0, 0)');