[RSS Feed/News] Reset Database to repeat Import

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
When I setup a XF installation then I use imported data to customize everything. When I am finish I delete the imported data and rerun the import again.

Here you have the SQL commands to delete the imported data from database and set the auto_increment of specific tables to 0.

SQL:

Code:
DELETE FROM xf_admin WHERE user_id > 1;
DELETE FROM xf_admin_permission_entry WHERE user_id > 1;
DELETE FROM xf_user WHERE user_id > 1;
DELETE FROM xf_user_authenticate WHERE user_id > 1;
DELETE FROM...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom