Deleted Entire Database [April fools day joke]
- Single Page
Posted 01 April 2012 - 09:28 AM
I've been using GCRUD for a while now - this morning tried to delete one item and deleted all my info in my database in every single table!!!!!!!!
What can I do to fix it!!??!!??
Posted 01 April 2012 - 09:40 AM
I cannot help you if you don't tell me a hint.
You are the first person that mention such a problem so it is important to know WHERE the problem was, because it is a serious problem.
Posted 01 April 2012 - 09:42 AM
Mehehehehe!!!!
Posted 01 April 2012 - 09:51 AM
I make also a commit (a limit 1) for this just to make sure that will never happens : https://github.com/scoumbourdis/grocery-crud/commit/33403e493933ab4fc50d8358039e8d1a136532f7
That was a good one
Posted 01 April 2012 - 09:52 AM
Posted 02 April 2012 - 06:05 AM
Posted 19 April 2012 - 14:30 PM
I just thought I'd mention that this "limit 1 April Fools safety fix" further breaks MS SQL Server support, so you might want to revert it .
(Obviously I know that you don't really support MS-SQL or postgresql officially, but it's pretty easy to get working on MS-SQL at least with a minor change to grocery_crud_model and the codeigniter mssql driver, as posted elsewhere on these forums. This limit fix though also breaks 'delete' functionality on MS-SQL servers once you've jumped through those hoops.)
Posted 19 April 2012 - 17:56 PM
Thank you to mention it as it is really helpful for me if I want to support other databases.