aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-12 16:43:20 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-12 16:43:20 -0700
commitcee2ff2768589cb81781fbbdafb9925ba203902f (patch)
tree460eb306f5f58789e2ef8d7cd98524a9fab637d5 /activerecord/lib/active_record/connection_adapters
parent8fb838ed1690fb38ea3dfced1827ef5e7683cc3b (diff)
downloadrails-cee2ff2768589cb81781fbbdafb9925ba203902f.tar.gz
rails-cee2ff2768589cb81781fbbdafb9925ba203902f.tar.bz2
rails-cee2ff2768589cb81781fbbdafb9925ba203902f.zip
these strings do not need to be frozen
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r--activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
index 7ccd50bd8c..e812a0371b 100644
--- a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
@@ -381,9 +381,9 @@ module ActiveRecord
def default_primary_key_type
if supports_autoincrement?
- 'INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL'.freeze
+ 'INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL'
else
- 'INTEGER PRIMARY KEY NOT NULL'.freeze
+ 'INTEGER PRIMARY KEY NOT NULL'
end
end