Sha256: fcb7e9986fe764254e3ca2a7b5e3fe439f61237578a32d2b7c246cf1431fe667

Contents?: true

Size: 268 Bytes

Versions: 5

Compression:

Stored size: 268 Bytes

Contents

# create table spree_notifications
class AddSpreeNotifications < ActiveRecord::Migration
  def change
    create_table :spree_notifications do |t|
      t.datetime :start_date
      t.datetime :end_date
      t.text :notification

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_custom_notifications-0.5 db/migrate/20140210083923_add_spree_notifications.rb
spree_custom_notifications-0.4 db/migrate/20140210083923_add_spree_notifications.rb
spree_custom_notifications-0.3 db/migrate/20140210083923_add_spree_notifications.rb
spree_custom_notifications-0.2 db/migrate/20140210083923_add_spree_notifications.rb
spree_custom_notifications-0.1 db/migrate/20140210083923_add_spree_notifications.rb