Sha256: 4a71df41279be7747020a0af07686fdab4baa4bec416923b580f9795dadb59a6

Contents?: true

Size: 369 Bytes

Versions: 15

Compression:

Stored size: 369 Bytes

Contents

class CreateTestingNotes < ActiveRecord::Migration
  def change
    create_table :testing_notes do |t|
      t.belongs_to :user
      t.belongs_to :ticket
      t.string :verdict, :null => false
      t.string :comment, :null => false, :default => ""

      t.timestamps
    end
    add_index :testing_notes, :user_id
    add_index :testing_notes, :ticket_id
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
houston-core-0.7.0.beta3 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.7.0.beta2 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.7.0.beta db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.6.3 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.6.2 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.6.1 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.6.0 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.6 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.5 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.4 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.3 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.2 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.1 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.0 db/migrate/20120424212706_create_testing_notes.rb
houston-core-0.5.0.beta1 db/migrate/20120424212706_create_testing_notes.rb