CREATE TABLE tbltenant_push_notifications(
    id BIGINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
    tenant_id BIGINT UNSIGNED NOT NULL,
    FOREIGN KEY (tenant_id) REFERENCES tbltenants(id) ON DELETE CASCADE ON UPDATE CASCADE,
    codename VARCHAR(191) NOT NULL,
    value TINYINT(1) DEFAULT 1,
    added_on DATETIME NOT NULL
);
ALTER TABLE tbltenant_push_notifications ADD COLUMN staff_id BIGINT UNSIGNED DEFAULT NULL AFTER tenant_id;