Class: CreateResults

Inherits:
Object
  • Object
show all
Defined in:
lib/norad_cli/templates/spec/support/test_server/db/migrate/20160725144604_create_results.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'lib/norad_cli/templates/spec/support/test_server/db/migrate/20160725144604_create_results.rb', line 2

def change
  create_table :results do |t|
    t.string :assessment_id
    t.string :status
    t.text :output
    t.string :title
    t.string :description
    t.string :nid
    t.string :sir

    t.timestamps
  end
end