Fork me on GitHub
#luminus
<
2020-02-06
>
skroth01:02:41

using the re-frame profile, what is this code used for in core.cljs ?

(def pages
  {:home #'home-page
   :about #'about-page})
isn't that relation made in the router a few lines down?
(def router
  (reitit/router
    [["/" {:name        :home
           :view        #'home-page
           :controllers [{:start (fn [_] (rf/dispatch [:page/init-home]))}]}]
     ["/about" {:name :about
                :view #'about-page}]]))
i deleted it from my project and it seems to work fine. is it meant to be used for something, or is it unused/extra code?

heyarne16:02:14

Are multi-statement migrations supported in regular migrations?

heyarne16:02:06

I created a dump from within mariadb and would like to use that as a seeding migration

heyarne16:02:43

I can re-import it with the bare mysql / mariadb command but I'm getting errors when trying to do that via (migrate) .

heyarne17:02:47

Ooooooh I need to split the different statements with --;. Is this mentioned somewhere?

ikitommi18:02:23

@slack1490 looks like extra code, which is not needed

👍 1