delete from wp_soeren_postmeta where meta_key in ('post_restrictions', 'post_level', 'pl', 'viewlevel') 
and post_id in (27, 28, 29, 30);
delete from wp_soeren_usermeta where meta_key in ('postlevels_user_level', 'plu');

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

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

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

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

update wp_soeren_posts set post_status = 'private' where ID in (27, 28, 29, 30);
