Sequel updates:
  Added code for tables which don't have a table class.
  Added code for tables without an id or date.
  Added code for resetting auto-increment.
Fix the database table reset code.