Your script must work whether or not the table app_logs already exists (in this database it does โ with three columns).
app_logs with columns log_id INTEGER and message VARCHAR only if it doesn't already exist โ no error, and don't change the existing table.log_id 1 and message 'started'.Run your code to see the output here.