diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-23 22:50:48 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-23 22:50:48 -0400 |
commit | 41a93fad32677e3f351c0e16f0c704cbfbc5404e (patch) | |
tree | aa46c550dbd15a1f0bb0faf4e8eebb92c4970bdd /db/migrate/20140424014421_add_attachments.mailboxer_engine.rb | |
parent | 19b04a49d01af1917385c166501ef086eddae437 (diff) | |
parent | 47be7c86ca5193ffe4331fbb9358a9171abe748b (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'db/migrate/20140424014421_add_attachments.mailboxer_engine.rb')
-rw-r--r-- | db/migrate/20140424014421_add_attachments.mailboxer_engine.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20140424014421_add_attachments.mailboxer_engine.rb b/db/migrate/20140424014421_add_attachments.mailboxer_engine.rb new file mode 100644 index 0000000..b8d6588 --- /dev/null +++ b/db/migrate/20140424014421_add_attachments.mailboxer_engine.rb @@ -0,0 +1,10 @@ +# This migration comes from mailboxer_engine (originally 20111204163911) +class AddAttachments < ActiveRecord::Migration + def self.up + add_column :notifications, :attachment, :string + end + + def self.down + remove_column :notifications, :attachment + end +end |