Fix autoupdate()

In sqlite there is no SHOW FIELTS FROM quey, instead you have to use PRAGMA table_info().
Changed autoupdate to work with sqlite.

Transitions are always done by renaming the table, creating the new table with current schema moving, moving the data to the new table and then droping the old table.
Merge pull request #3 from enko/master

fix autoupdate