Changeset 184

Show
Ignore:
Timestamp:
01/22/2007 20:50:54 (22 months ago)
Author:
codeFiend
Message:

fixed the campsh.rb example schema as well

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/campsh.rb

    r156 r184  
    3535    class CreateBasics < V 1.0 
    3636        def self.up 
    37             create_table :campsh_commands, :force => true do |t| 
    38                 t.column :id,         :integer, :null => false 
     37            create_table :campsh_commands, :force => true, :id => false do |t| 
     38                t.column :id,       :integer, :null => false, :primary_key => true, :auto_increment => true 
    3939                t.column :author,     :string,  :limit => 40 
    4040                t.column :name,       :string,  :limit => 255