Update tables.sql

Added extended time table and fixed corresponding attributes