Hi out there,

I experienced Problems when I tried to save a Sequel::Model

   ERROR database: ERROR:  currval of sequence "schedules_id_seq" is  
not yet defined in this session

The model schema is:

   set_schema do
     serial    :id, :primary_key => true
     varchar   :state, :default => 'running'

     timestamp :starts_at
     timestamp :stops_at

     integer   :aberrate_with
     integer   :dispersal_shift
   end

During testing I always recreate the models table.

Also I cant figure out how to limit varchars...

Sincerely
Florian