aboutsummaryrefslogtreecommitdiffhomepage
path: root/migrations/20241217_165550_add_instance_auth_push_eligibility.php
blob: ebf2a4759d56299a1fac6d852eef3f6707736244 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

use \Digitigrade\Db\Migrator;

Migrator::getInstance()->register(20241217_165550, function (PDO $db) {
    // whether we are allowed to push / receive pushes for a given instance
    $db->exec(<<<END
    ALTER TABLE instance_auth ADD COLUMN outbound_push_enabled boolean not null default false;
    ALTER TABLE instance_auth ADD COLUMN inbound_push_enabled boolean not null default false;
    END);
});