Hello!

Take a look at this tutorial and search for the word 'serial'.

http://devcenter.heroku.com/articles/clojure-web-application

I think that'll get you where you want to be.

Let me know if you have any questions!

Best,

Michael Gorsuch

On Tue, Jul 26, 2011 at 3:50 AM, Tarantoga <d.bushe...@gmail.com> wrote:
> Does anyone know how to create an autoincrementing ID field for a
> table schema on Heroku?
>
> It uses PostgreSQL and a common way for this DB is to create a
> sequence and then take default ID's from this sequence. But I haven't
> found a way to do something like that.
>
> I know that rails migrations do something similar but don't know how.
> Are there any ideas?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to