Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Columns are added in the reverse order #12

Closed
pupeno opened this Issue Aug 16, 2011 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

pupeno commented Aug 16, 2011

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?

@budu budu closed this in acc055c Aug 18, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment