mirror of
https://github.com/ellite/Wallos.git
synced 2026-04-17 21:50:11 -04:00
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
12 lines
297 B
PHP
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)
|
|
)'); |