Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Columns are added in the reverse order #12

Closed
pupeno opened this Issue · 0 comments

2 participants

J. Pablo Fernández Nicolas Buduroi
J. Pablo Fernández

Apparently columns are added in the reverse order than specified, so if I run

(lcore/create db
  (lschema/table :schema_migrations
    (lschema/integer :id :primary-key)
    (lschema/varchar :version 200)
    (lschema/timestamp :timestamp)))

I end up with timestamp, version and id, instead of id, version and timestamp. I know functionally it's no big deal, but maybe adding a reverse somewhere it'd help keep them in order?

Nicolas Buduroi budu closed this issue from a commit
Nicolas Buduroi Reversed the order of elements in the table macro so that columns are…
… in the same order as they are defined, fixes #12.
acc055c
Nicolas Buduroi budu closed this in acc055c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.