diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-09-12 08:55:26 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-09-12 08:55:26 +0100 |
commit | 8fbbbeba48fc0fe4467805d0d15783aeea5d100d (patch) | |
tree | 9fe08395d28931c4ef46b6a5e910aadcc61d2fc7 /db/migrate/20120910153022_create_request_classifications.rb | |
parent | 52c3e28d09fd75fdbf467c96909e20a86aeaa7fa (diff) | |
parent | 926ab82ada79adea9d0092898e0ee60c9ff6e53e (diff) |
Merge branch 'develop' into wdtk
Diffstat (limited to 'db/migrate/20120910153022_create_request_classifications.rb')
-rw-r--r-- | db/migrate/20120910153022_create_request_classifications.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20120910153022_create_request_classifications.rb b/db/migrate/20120910153022_create_request_classifications.rb new file mode 100644 index 000000000..7c6270c9e --- /dev/null +++ b/db/migrate/20120910153022_create_request_classifications.rb @@ -0,0 +1,14 @@ +class CreateRequestClassifications < ActiveRecord::Migration + def self.up + create_table :request_classifications do |t| + t.integer :user_id + t.integer :info_request_event_id + t.timestamps + end + add_index :request_classifications, :user_id + end + + def self.down + drop_table :request_classifications + end +end |