activerecord-rdb-adapter 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14b1c00c237acdbbaeb9e9378e4e522fd72e63fe61727293afb1b0206b88b578
4
- data.tar.gz: 19b48cfe505165994efb052a8ef352168659b3377a18b243fad01a46b453be6f
3
+ metadata.gz: 6f71a7f43889ccb34453a8ae98854cf95b966cd1866e8e5c156081d80472ddb5
4
+ data.tar.gz: 381147052286bd4b4179ed7d9e209f4ff7d31e93e28b490c973fb30521e16e89
5
5
  SHA512:
6
- metadata.gz: 8efc99a7b159172f1345b88dc00498888c91554b0cd65926aa996a794e9e661c66a87d19d0b77cc9b23ce8235946ead18ce3586b89f0da555b57317b31a0367f
7
- data.tar.gz: 0642f4480721e78953445e3dcdacbcd091d6255905d9f25fa14f5b8b871e9a0b4d63d2f552252afc46d5d4a6961de30551e07f54ea8db9bd3f57f8cd1ba489f8
6
+ metadata.gz: 1515d2fcb162e54b6cd431b08bd9742ba96faf292aa61945ece6d255ae806f8b82cf014ee9114fff043fd71feb7b4a693ea1cf4e8a77a21fca7686e29c70d72d
7
+ data.tar.gz: b38a3010b7a77fa5931ef6a7edb727673c7bb1da6e34581b0649b8fd20adf000989b359abac3ffc5a72f164a2c11887bdeed4bc3b8dafe70c5ffc51658551f9e
@@ -163,7 +163,7 @@ module ActiveRecord
163
163
  copy_column = 'c_temp'
164
164
  add_column table_name, copy_column, type, options
165
165
  execute(squish_sql(<<-END_SQL))
166
- UPDATE #{table_name} SET #{copy_column.quote_column_name} = #{column_name.to_s.quote_column_name};
166
+ UPDATE #{table_name} SET #{quote_column_name(copy_column)} = #{quote_column_name(column_name)};
167
167
  END_SQL
168
168
  remove_column table_name, column_name
169
169
  rename_column table_name, copy_column, column_name
@@ -198,7 +198,7 @@ module ActiveRecord
198
198
  copy_column = 'c_temp'
199
199
  add_column table_name, copy_column, type, options
200
200
  execute(squish_sql(<<-END_SQL))
201
- UPDATE #{table_name} SET #{copy_column.quote_column_name} = #{column_name.to_s.quote_column_name};
201
+ UPDATE #{table_name} SET #{quote_column_name(copy_column)} = #{quote_column_name(column_name)};
202
202
  END_SQL
203
203
  remove_column table_name, column_name
204
204
  rename_column table_name, copy_column, column_name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-rdb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Lobanov (RedSoft)