search for: timestamp_with_time_zone

Displaying 1 result from an estimated 1 matches for "timestamp_with_time_zone".

2007 Dec 14
0
"Multiple default values" with Rails migration
I am running the following migration with PostgreSQL 8.2.5. It works fine on my Windows machine, but gives me the below error on Linux CentOS 4.3. Any ideas? Thanks, Chirag class CreateUsers < ActiveRecord::Migration def self.up create_table :uers do |t| t.column :timestamp, :timestamp_with_time_zone t.column :userval, :integer, :limit => 1, :null=> false #will use smallint becuase of plug-in end end def self.down drop_table :users end end == CreateUsers: migrating ================================================ -- create_table(:users) rake aborted! RuntimeError: E...