delete from wp_soeren_postmeta where meta_key in ('post_restrictions', 'post_level', 'pl', 'viewlevel');
delete from wp_soeren_usermeta where meta_key in ('postlevels_user_level', 'plu');
update wp_soeren_posts set post_status = 'publish';

insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (30, 'viewlevel', 4);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (30, 'viewlevel', 4);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (30, 'viewlevel', 4);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (30, 'viewlevel', 3);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (30, 'viewlevel', 3);

insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (29, 'viewlevel', 3);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (29, 'viewlevel', 3);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (29, 'viewlevel', 3);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (29, 'viewlevel', 4);

insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (28, 'viewlevel', 4);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (28, 'viewlevel', 4);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (28, 'viewlevel', 4);
insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (28, 'viewlevel', 3);

insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (27, 'viewlevel', 5);

insert into wp_soeren_postmeta (post_id, meta_key, meta_value) values (26, 'viewlevel', -1);


update wp_soeren_posts set post_status = 'private' where ID = 29;
