Cumulative Project: Codestrips - Step 8 -

Hi All :slight_smile:

I am unable to create the table for step 8, it fails when I run the test. Below is my code, I don’t understand why in the walkthrough he is using backsticks in db.run, I tried to replace it with ’ and " but its still failing the test.

Link to the project: https://www.codecademy.com/paths/web-development/tracks/building-a-persistent-api/modules/persistent-api-cumulative-projects/projects/codestrips-prj - STEP 8

const sqlite3 = require('sqlite3');

const db = new sqlite3.Database('./db.sqlite');

db.serialize(() => {

db.run(`DROP TABLE IF EXISTS Strip`);

db.run(`CREATE TABLE IF NOT EXISTS Strip(

id INTEGER PRIMARY KEY,
head TEXT NOT NULL,
body TEXT NOT NULL,
background TEXT NOT NULL,
bubble_type TEXT NOT NULL,
bubble_text TEXT NOT NULL DEFAULT "",
caption TEXT NOT NULL DEFAULT ""
);`);

});

Anyone with eagle eyes maybe can spot a mistake there ?

Thanks in advance :slight_smile: