jasonwu

jasonwu

Web Development with Clojure, Third Edition: Migration "Skipping" issue on p.10

Hi there. I just started the book and followed the instructions carefully, but I get a warning when I run the (migrate) command on p.10:

WARN migratus.migrations - skipping: ‘20210716001844-guestbook.down.sql~’ migrations must match pattern: ^(\d+)-([^.]+)((?:.[^.]+)+)$

WARN migratus.migrations - skipping: ‘20210716001844-guestbook.up.sql~’ migrations must match pattern: ^(\d+)-([^.]+)((?:.[^.]+)+)$

Then, I believe this is the root cause of the error I get on p.14 where (get-messages) doesn’t work, because I then get an error that the table wasn’t created. That’s when I looked back at my previous steps, and saw that I got these skipping warnings on p.10, which don’t show up in the book.

Any thoughts on what might be causing this? I’ve deleted all the guestbook files and restarted several times. Not sure what I’m missing.

Thank you.

Marked As Solved

pm9999

pm9999

*~ files are probably generated by emacs and can be safely deleted and ignored by (migrate) call.

DS_store is a MACOS file, right? Can be safely ignored as well. The debug info is FYI only.

Where Next?

Popular Pragmatic Bookshelf topics Top

jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
New
mikecargal
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) It looks like ​.with_simple_console_no_bg​(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
cro
I am working on the “Your Turn” for chapter one and building out the restart button talked about on page 27. It recommends looking into ...
New
jeremyhuiskamp
Title: Web Development with Clojure, Third Edition, vB17.0 (p9) The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
patoncrispy
I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
New
adamwoolhether
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
New
adamwoolhether
Is there any place where we can discuss the solutions to some of the exercises? I can figure most of them out, but am having trouble with...
New
creminology
Skimming ahead, much of the following is explained in Chapter 3, but new readers (like me!) will hit a roadblock in Chapter 2 with their ...
New
kolossal
Hi, I need some help, I’m new to rust and was learning through your book. but I got stuck at the last stage of distribution. Whenever I t...
New

Other popular topics Top

DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
New
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New

Sub Categories: