Add Themes: Dark, light and automatic mode
This commit is contained in:
committed by
Frédéric Guillot
parent
65a5f0f47d
commit
aade89c9ba
@@ -8,7 +8,12 @@ use PDO;
|
||||
use Kanboard\Core\Security\Token;
|
||||
use Kanboard\Core\Security\Role;
|
||||
|
||||
const VERSION = 1;
|
||||
const VERSION = 2;
|
||||
|
||||
function version_2(PDO $pdo)
|
||||
{
|
||||
$pdo->exec("ALTER TABLE dbo.users ADD COLUMN theme nvarchar(50) DEFAULT N'light' NOT NULL");
|
||||
}
|
||||
|
||||
function version_1(PDO $pdo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user