Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

How to start anew

Questions related to using nuBuilder Forte.
Post Reply
alexdp
Posts: 10
Joined: Sat Sep 24, 2011 3:49 am

How to start anew

Unread post by alexdp »

Hello you all,
After playing with nuBuilder, creating tables and nuObjects (forms, etc.), I am now ready to create a new project. My question is how to proceed in order to get rid of nuObjects I created while playing with nuBuilder. I deleted all tables that did not start with the name zzzz_. What is the next step to delete nuObjects ? It would be nice if I did not have to reinstal nuBuilder Forte.
Regards,
Alex DP
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: How to start anew

Unread post by toms »

Hi,

Run all these queries (create a backup first by exporting the db to a sql file)

Deletes all records that do not start with ids starting with 'nu'

Code: Select all

DELETE FROM zzzzsys_form WHERE zzzzsys_form_id NOT LIKE 'nu%' ;
DELETE FROM zzzzsys_object WHERE zzzzsys_object_id NOT LIKE 'nu%';
DELETE FROM zzzzsys_event WHERE zzzzsys_event_id NOT LIKE 'nu%'; 										
DELETE FROM zzzzsys_file WHERE zzzzsys_file_id NOT LIKE 'nu%';										
DELETE FROM zzzzsys_format WHERE zzzzsys_format_id NOT LIKE 'nu%';										
DELETE FROM zzzzsys_php WHERE sph_zzzzsys_form_id NOT LIKE 'nu%' AND zzzzsys_php_id NOT LIKE 'nu%' ;		  				
DELETE FROM zzzzsys_tab WHERE  syt_zzzzsys_form_id NOT LIKE 'nu%';
Last edited by Anonymous on Sat Apr 21, 2018 4:40 pm, edited 1 time in total.
alexdp
Posts: 10
Joined: Sat Sep 24, 2011 3:49 am

Re: How to start anew

Unread post by alexdp »

Worked great. Thank you.
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: How to start anew

Unread post by toms »

You're welcome!
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: How to start anew

Unread post by admin »

.
Post Reply