To edit pages or tickets please login with username/password: aaf/aaf

Changeset 87

Show
Ignore:
Timestamp:
08/31/06 12:43:19 (2 years ago)
Author:
jk
Message:

migrations fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demo/db/migrate/001_initial_migration.rb

    r46 r87  
    22  def self.up 
    33    create_table "comments" do |t| 
    4       t.column "author", :string, :limit => 100, :null => false 
    5       t.column "content", :text, :null => false 
    6       t.column "content_id", :integer, :null => false 
     4      t.column "author", :string, :limit => 100 
     5      t.column "content", :text 
     6      t.column "content_id", :integer 
    77    end 
    88    create_table "contents" do |t| 
    9       t.column "title", :string, :limit => 100, :null => false 
    10       t.column "description", :text, :null => false 
     9      t.column "title", :string, :limit => 100 
     10      t.column "description", :text 
    1111    end 
    1212  end 

To edit pages or tickets please login with username/password: aaf/aaf