add created_at column to log tables