     context text default null,
     foreign key post_id references post(id),
     foreign key author_id references user_profile(id) 
-);
+) engine=innodb;
 
 
 create table if not exists flag_status (

    id int not null auto_increment primary key,
    name varchar(30),
    description text,
) engine=myisam;

create table if not exists user_privalege_rel (
    id int not null auto_increment primary key,

    target_id int,
    foreign key post_id references post(id),
    foreign key target_id references post(id),
) engine=innodb;

create table if not exists post_revision (
    id int not null auto_increment primary key,
