lobos icon indicating copy to clipboard operation
lobos copied to clipboard

A library to create and manipulate SQL database schemas with migrations support.

Results 35 lobos issues
Sort by recently updated
recently updated
newest added

Clojure.java.jdbc finally removed the deprecated code, so I rewrote lobos to use the up-to-date library.

The problem is this regex in the SQLite backend in the analyze function. I used the filename "db/database.db" which return nil in the capture. Also ./db/database.db does not work. Using...

Instead of opening new connections quite often or rely on a global one, use a connection provided from outside. An added benefit of this change is the ability to do...

My `projects.clj` has these: ``` clojure [org.clojure/java.jdbc "0.3.3"] [org.postgresql/postgresql "9.2-1002-jdbc4"] [lobos "1.0.0-beta3"] ``` Getting this error every time I try to migrate: ``` java org.postgresql.util.PSQLException: ERROR: syntax error at or...

Hi there, I tried to use lobos and followed the instructions in the README.md but I am getting the following error: ``` Exception in thread "main" java.lang.RuntimeException: Unable to resolve...

Currently, I have a column that has a "NOT NULL" constraint and I need to remove it. So far, I haven't found a way to this using the DSL. The...

Hello- is there any way to create partial indexes with Lobos? Something like this: CREATE UNIQUE INDEX favo_3col_uni_idx ON favorites (user_id, menu_id, recipe_id) WHERE menu_id IS NOT NULL; CREATE UNIQUE...

Our CI environment requires us to create the test database from within a lein task. Is it possible to create a database using lobos?

Hi, This took me ages to figure out. (migrate) was not working following the example code. eg, migrate always returned nil, doing nothing: ``` user> (migrate) nil ``` I found...

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'lobos_migrations' already exists (def db-spec {:subprotocol "mysql" :subname "//localhost:3306/myyun?zeroDateTimeBehavior=convertToNull" :delimiters "`" ;; very important to mysql. cause the sql syntax error :user "xxxx" :password "xxxx"}) when...