CREATE TABLE CallRestrictions
(
    Node BIGINT UNSIGNED DEFAULT NULL,
    Block VARCHAR(25) DEFAULT NULL,
    UNIQUE KEY ( Node,Block ),
    FOREIGN KEY ( Node ) REFERENCES nodes ( id) ON DELETE CASCADE ON UPDATE CASCADE

) ENGINE=INNODB CHARSET=UTF8 COMMENT="Restrictions on VoIP calls per node ( extension, account )";
