Sha256: 8e25ccab51a3342074ae12f6faf8cf8791484b2283f5dc885a1aa49fac5c1d1f
Contents?: true
Size: 535 Bytes
Versions: 30
Compression:
Stored size: 535 Bytes
Contents
ActiveRecord::Base.connection.tables.each do |t| ActiveRecord::Base.connection.drop_table t end gems = %w{ documents events linkser presence } gems.each do |g| require "social_stream/migrations/#{ g }" end gems.unshift("base") gems.each do |g| "SocialStream::Migrations::#{ g.camelize }".constantize.new.up end # In Rails 3.2.0, we need to reload the database schema # # Some models are loaded before the database is created, # reporting their table does not exist in specs ActiveRecord::Base.connection.schema_cache.clear!
Version data entries
30 entries across 30 versions & 1 rubygems