Methods
Public Class methods
down()
    # File test/001_schema_migration_test.rb, line 30
30:   def self.down
31:   end
up()
    # File test/001_schema_migration_test.rb, line 6
 6:   def self.up
 7:     create_table "pages", :force => true do |t|
 8:       t.column "book_id", :integer
 9:       t.column "page_num", :integer
10:       t.column "content", :text
11:     end  
12: 
13:     remove_index(:delete_me_in_migration, :junk)
14:     rename_column(:delete_me_in_migration, :more_junk, :less_junk)
15:     change_column(:delete_me_in_migration, :junk, :string)
16:     remove_column(:delete_me_in_migration, :junk_yard)
17: 
18:     drop_table(:delete_me_in_migration)
19:     
20:     add_column(:publishers, :address, :string)
21:     add_index(:publishers, :name, :unique)
22: 
23:     # test belong_to (book) and has_one (book)

24:     create_table 'errata', :force => true do |t|
25:       t.column 'book_id', :integer
26:       t.column 'contents', :string
27:     end
28:   end