Sha256: 8b0672a2c72d67021f2b70ad315dd5f0744eab66255db1ba9295e0772498137e

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

require File.join(File.dirname(__FILE__), 'migrations')

begin
  ActsAsTaggableOnMigration.down
rescue
  puts "WARNING: ActsAsTaggableOnMigration failed to rollback" 
end

%w(Mailboxer).each do |m|
  begin
    "Create#{ m }".constantize.down
  rescue
    puts "WARNING: #{ m } migration failed to rollback" 
  end
end

begin
  ActiveRecord::Migrator.migrate File.expand_path("../../dummy/db/migrate/", __FILE__), 0
rescue
  puts "WARNING: Social Stream Base failed to rollback" 
end

CreateMailboxer.up
ActsAsTaggableOnMigration.up

# Run any available migration
ActiveRecord::Migrator.migrate File.expand_path("../../dummy/db/migrate/", __FILE__)

require File.expand_path("../../dummy/db/seeds", __FILE__)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_stream-base-0.7.0 spec/support/db.rb
social_stream-base-0.6.8 spec/support/db.rb
social_stream-base-0.6.6 spec/support/db.rb
social_stream-base-0.6.5 spec/support/db.rb