Overview
Comment:Fix: config is not required here
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 2239ebd2fadbc2ceba2843ebdc5a4f472da98445dfc42c0290bda1f57d861c3d
User & Date: bohwaz on 2021-11-03 17:37:13
Other Links: manifest | tags
Context
2021-11-08
08:01
Add useful scripts check-in: 7f7d12d84e user: bohwaz tags: trunk
2021-11-03
17:37
Fix: config is not required here check-in: 2239ebd2fa user: bohwaz tags: trunk, stable
2021-11-01
15:24
Fix error on SQLite file storage when overwriting an existing file check-in: 6ade070e76 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Membres/Champs.php from [8c67451d61] to [df5852c7ec].

486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
        $this->champs = $champs;

        return true;
    }

    public function getSQLSchema(string $table_name = self::TABLE): string
    {
        $config = Config::getInstance();
        $db = DB::getInstance();

        // Champs à créer
        $create = [
            'id INTEGER PRIMARY KEY, -- Numéro attribué automatiquement',
            'id_category INTEGER NOT NULL REFERENCES users_categories(id),',
            'date_connexion TEXT NULL CHECK (date_connexion IS NULL OR datetime(date_connexion) = date_connexion), -- Date de dernière connexion',







<







486
487
488
489
490
491
492

493
494
495
496
497
498
499
        $this->champs = $champs;

        return true;
    }

    public function getSQLSchema(string $table_name = self::TABLE): string
    {

        $db = DB::getInstance();

        // Champs à créer
        $create = [
            'id INTEGER PRIMARY KEY, -- Numéro attribué automatiquement',
            'id_category INTEGER NOT NULL REFERENCES users_categories(id),',
            'date_connexion TEXT NULL CHECK (date_connexion IS NULL OR datetime(date_connexion) = date_connexion), -- Date de dernière connexion',