Changeset 87
- Timestamp:
- 08/31/06 12:43:19 (2 years ago)
- Files:
-
- trunk/demo/db/migrate/001_initial_migration.rb (modified) (1 diff)
- trunk/demo/db/migrate/002_add_type_to_contents.rb (added)
- trunk/demo/db/migrate/003_create_shared_index1s.rb (moved) (moved from trunk/demo/db/migrate/002_create_shared_index1s.rb)
- trunk/demo/db/migrate/004_create_shared_index2s.rb (moved) (moved from trunk/demo/db/migrate/003_create_shared_index2s.rb)
- trunk/demo/db/migrate/005_special_field.rb (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/demo/db/migrate/001_initial_migration.rb
r46 r87 2 2 def self.up 3 3 create_table "comments" do |t| 4 t.column "author", :string, :limit => 100 , :null => false5 t.column "content", :text , :null => false6 t.column "content_id", :integer , :null => false4 t.column "author", :string, :limit => 100 5 t.column "content", :text 6 t.column "content_id", :integer 7 7 end 8 8 create_table "contents" do |t| 9 t.column "title", :string, :limit => 100 , :null => false10 t.column "description", :text , :null => false9 t.column "title", :string, :limit => 100 10 t.column "description", :text 11 11 end 12 12 end
