activerecord-import/test/schema/version.rb
Zach Dennis a1a183e43d Updating Gemfile to latest versions of libraries:
* updating deprecated require 'rake/rdoctask' with 'rdoc/task'
* preparing to remove deprecated ActiveRecord set_table_name with self.table_name=
2012-08-06 09:24:34 -04:00

11 lines
273 B
Ruby

class SchemaInfo < ActiveRecord::Base
if respond_to?(:table_name=)
self.table_name = 'schema_info'
else
# this is becoming deprecated in ActiveRecord but not all adapters supported it
# at this time
set_table_name 'schema_info'
end
VERSION = 12
end