-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Running a test on posgres 9.3.5 using:
:dependencies [[org.clojure/clojure "1.6.0"]
[postgresql "9.3-1102.jdbc41"]
[lobos "1.0.0-beta3"]
])Created a table with:
user=> (create
#_=> (table :customers
#_=> (integer :id :primary-key)
#_=> (varchar :firstname 75)))Then tried to modify the column:
user=> (alter :modify (table :customers (varchar :firstname 50)))But that raises a Postgres error. It seems lobos is sending:
ALTER TABLE "customers" ALTER COLUMN "firstname" VARCHAR(50)when it should be sending
ALTER TABLE "customers" ALTER COLUMN "firstname" TYPE VARCHAR(50)Metadata
Metadata
Assignees
Labels
No labels