Models List

admin
Site Admin
Posts: 37233
Joined: Wed Sep 10, 2008 11:43 am

Re: Models List

Post by admin »

Well, I checked the Db and you have ~45k galleries and only ~2k "model to gallery" records

That you delete most of your DB

are you sure ?
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Models List

Post by happydg »

I have many import sets running so new galleries are added everyday. But i would need an option to delete galleries without models from time to time.
admin
Site Admin
Posts: 37233
Joined: Wed Sep 10, 2008 11:43 am

Re: Models List

Post by admin »

ok
make a backup ad run this sql query (ask admin to do it for you if you don't know how to do it)

Code: Select all

update rot_gallery_info set gallery_status = 'to_delete' where gallery_id NOT IN (select gallery_id from rot_gal2model)
Don't forget to run script update
Post Reply