Files
Wallos/migrations/000023.php
Miguel Ribeiro 50bd104b5b feat: cache logos for offline use
fix: don't allow saving main and accent colors if they're the same
feat: rework styles of theme section on settings page
feat: more uniform and aligned styles on the settings page
feat: ability to add custom css styles
2024-07-03 18:18:21 +02:00

12 lines
297 B
PHP

<?php
/*
* This migration adds a table to store custom css styles per user
*/
/** @noinspection PhpUndefinedVariableInspection */
$db->exec('CREATE TABLE IF NOT EXISTS custom_css_style (
css TEXT DEFAULT "",
user_id INTEGER,
FOREIGN KEY (user_id) REFERENCES user(id)
)');