aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/1.129_wysiwyg_config_option.php
blob: f7b933ab7e03ddb48fff4aefe957a8d0c5d22bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

class WysiwygConfigOption extends Migration
{
    function description()
    {
        return 'adds config option for wysiwyg editor';
    }

    function up()
    {
        $stmt = DBManager::get()->exec("
            INSERT INTO config
            (config_id, field, value, is_default, `type`, `range`, section, mkdate, chdate, description, comment)
            VALUES
            ('e8cd96580149cde65ad69b6cf18d5c4A', 'WYSIWYG', '0', 1, 'boolean', 'global', 'global', 
             UNIX_TIMESTAMP(),  UNIX_TIMESTAMP(), 'Aktiviert den WYSIWYG Editor im JavaScript.', '')
            ");
    }

    function down()
    {
    }
}