ARTICLE AD BOX
I'm following the Hanami tutorial documentation for building a web app.
I run bin/hanami db migrate and I get the following error:
=> database db/bookshelf.sqlite migrated in 0.2763s Error: in prepare, near "projects": syntax error projects/bookshelf/db/bookshelf.sqlite ^--- error here !!! => "db/bookshelf.sqlite structure dumped to config/db/structure.sql" FAILEDI got through "Verifying the database integration" with:
bookshelf[development]> books_relation = app["relations.books"] bookshelf[development]> books_relation.insert(title: "Test Driven Development", author: "Kent Beck") bookshelf[development]> books_relation.insert(title: "Practical Object-Oriented Design in Ruby", author: "Sandi Metz") bookshelf[development]> books_relation.insert(title: "The Pragmatic Programmer", author: "Dave Thomas and Andy Hunt")The list of books didn't display on the site. I opened the sqlite file in DBBrowser for SQLite and it showed 0 rows.
I'm on Ubuntu 24.04.4 LTS using vscodium if that matters.
Link to Hanami tutorial: Hanami tutotrial
Am I doing something wrong? Did I miss something? What other information do you need?
