diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-21 10:34:42 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-21 10:34:42 -0400 |
commit | 92fadaf713dc9fffd215365a26035a638404c5a1 (patch) | |
tree | fe3e4941356b19997547332e4892475ab2d31b6a /db/migrate/20140421143152_create_alerts.rb | |
parent | 615c415a05fa219e9d8a43fa0d8863c2deadc04e (diff) | |
parent | c3d46241a2298ecec052332c1767a65b010cf9a1 (diff) |
Merge branch 'clean2'
Diffstat (limited to 'db/migrate/20140421143152_create_alerts.rb')
-rw-r--r-- | db/migrate/20140421143152_create_alerts.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20140421143152_create_alerts.rb b/db/migrate/20140421143152_create_alerts.rb new file mode 100644 index 0000000..68a8e10 --- /dev/null +++ b/db/migrate/20140421143152_create_alerts.rb @@ -0,0 +1,10 @@ +class CreateAlerts < ActiveRecord::Migration + def change + create_table :alerts do |t| + t.references :author, index: true + t.text :message + + t.timestamps + end + end +end |