I'm a new guy from RoR to Clojure/Luminus. After reading the book "web development with clojure", I find a question about DB migration. In Rails, after running a migration file, the newly modified table structure will show in the db/schema.rb
file, so that we know what we defined for a table in the schema
file. So I wondered if there is a file in Luminus similar to the db/schema.rb
?
Asked
Active
Viewed 93 times
2

PeterZD
- 181
- 1
- 1
- 6
-
Migratus does not support such schema generation natively (and I can't think of anything but something like `pg_dump --schema-only
` - if you are using postgres), but I would be happy to know if there are any third-party libraries for that. – Aleph Aleph Jun 11 '17 at 19:58 -
I'd like to know if there's some third-party lib for the `schema` too :) – PeterZD Jun 12 '17 at 01:52