stonedeft
-
Posts
4 -
Joined
-
Last visited
Posts posted by stonedeft
-
-
what you will do in case of upgrade ?
you need to truncate orders table ,and some other tables also ....
as licensecart suggested , re-install blesta , but before save your currecnt database tructure to compare it with the new tables .
another soltion is to not delete any thing, just change the autoincrement number of invoice to begin from the first
I will never upgrade. Plugin system cannot handle the heavy modifications to meet our company requirements.
I reviewed the "delete client" and "delete users" routines under the method validateClientDeleteable() of the Clients Model, it checks if user has services, invoices and transactions, so logically, if I truncate those 3 tables I can successfully delete the client.
I may leave footprints behind on other tables , but I think it will not break the system.
fingers crossed
-
Just re-install Blesta. You shouldn't use a production environment for testing on, or you should have a backup database to restore.
I cannot reinstall, I have some modifications on the database structure and heavy mods on some controller files.
I just need to delete all clients and all services, invoices and transactions.
-
Hello,
I am now done with tweaking and modifying some sections of blesta.
While doing so I have created test Client accounts, services and transaction.
I am now ready to go live and upload on a production server.
I would like to delete all of the test accounts, with related services, invoices transactions, payment accounts and support tickets.
I tried manually truncating the following tables. All seems well but when I tried to run Cron, something broke.
accounts_ccclientsclient_accountclient_notesclient_settingscontactscontact_numberscontact_permissionscron_task_runsinvoicesinvoice_deliveryinvoice_lineslog_account_accesslog_contactslog_cronlog_emailslog_gatewayslog_transactionslog_usersservicesservices_domainsservice_fieldssessionstransactionstransactions_appliedWhat Database Tables do I need to truncate.
Thank you.
Clear Client Data For Production Launch
in Support
Posted
Thank you this works... Kudos!!!