You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a superfluous comma in the blog_post table definition, aftre PRIMARY KEY.
Correct version below
CREATE TABLE blog_post ( id bigint(20) NOT NULL AUTO_INCREMENT, title varchar(100) COLLATE utf8_unicode_ci NOT NULL, content longtext COLLATE utf8_unicode_ci NOT NULL, created_at datetime NOT NULL, PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;