Tables.sql ok querys and triggers not finished