         transfer bit not null,
         wait bit not null,
         primary key (id)
-    ) ENGINE=InnoDB
+    ) ENGINE=InnoDB;
 
     create table logging_event (
         id bigint not null auto_increment,

        uniqueid varchar(32) not null,
        userfield float,
        primary key (id)
    ) ENGINE=InnoDB

    create table context (
        id bigint not null auto_increment,
        detail varchar(128) not null,
        name varchar(20) not null,
        primary key (id)
    ) ENGINE=InnoDB

    create table extensions (
        context varchar(20) not null,

        name varchar(255) not null,
        value varchar(255) not null,
        primary key (id)
    ) ENGINE=InnoDB;

    create table permission (
        id bigint not null auto_increment,
        acl varchar(255) not null,
        role varchar(255) not null,
        primary key (id)
    ) ENGINE=InnoDB;

    create table role (
        id bigint not null auto_increment,
        name varchar(255) not null,
        primary key (id)
    ) ENGINE=InnoDB;

    create table sip_buddies (
        id integer not null auto_increment,
