lib/tasks/database.rake in disco_app-0.16.1 vs lib/tasks/database.rake in disco_app-0.17.0
- old
+ new
@@ -1,6 +1,6 @@
namespace :database do
- desc "update postgres sequence numbers in case database has been migrated"
+ desc 'update postgres sequence numbers in case database has been migrated'
task update_sequences: :environment do
ActiveRecord::Base.connection.tables.each do |t|
ActiveRecord::Base.connection.reset_pk_sequence!(t)
end
end