diff options
author | re4k <re4k@re4k.info> | 2013-04-04 03:07:35 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-04-04 03:07:35 +0900 |
commit | 61dde16fd55babd2ccf5ff6a9c8be1f600868d9b (patch) | |
tree | af4e6f14ad16f87e911426e950ff1d72128f8328 /db/migrate/20130403160821_create_issues.rb | |
parent | 1b49426b0c935a44262384acb526e5fbb86598c7 (diff) | |
download | aclog-61dde16fd55babd2ccf5ff6a9c8be1f600868d9b.tar.gz |
Add repoting copied tweets form
Diffstat (limited to 'db/migrate/20130403160821_create_issues.rb')
-rw-r--r-- | db/migrate/20130403160821_create_issues.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20130403160821_create_issues.rb b/db/migrate/20130403160821_create_issues.rb new file mode 100644 index 0000000..ea68724 --- /dev/null +++ b/db/migrate/20130403160821_create_issues.rb @@ -0,0 +1,14 @@ +class CreateIssues < ActiveRecord::Migration + def change + create_table :issues do |t| + t.integer :issue_type, :limit => 2 + t.integer :status, :limit => 2 + t.text :data + + t.timestamps + end + + add_index :issues, :issue_type + add_index :issues, :status + end +end |