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.

Popular Prag Prog topics Top

jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
raul
Hi Travis! Thank you for the cool book! :slight_smile: I made a list of issues and thought I could post them chapter by chapter. I’m rev...
New
Chrichton
Dear Sophie. I tried to do the “Authorization” exercise and have two questions: When trying to plug in an email-service, I found the ...
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
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
New
New
oaklandgit
Hi, I completed chapter 6 but am getting the following error when running: thread 'main' panicked at 'Failed to load texture: IoError(O...
New
rainforest
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels. Before ...
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New
davetron5000
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
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
PragmaticBookshelf
Author Spotlight: Sophie DeBenedetto @SophieDeBenedetto The days of the traditional request-response web application are long gone, b...
New
New

Latest in PragProg

View all threads ❯