camaleon_cms 2.4.6.4 → 2.4.6.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of camaleon_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/db/migrate/20180704211100_adjust_field_length.rb +5 -4
- data/lib/camaleon_cms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bf11a6e7095b8c7592f1417e1bf106226272fc0940a914689b72738836dea24
|
4
|
+
data.tar.gz: c088a65f8a95a0537f3ea2886dae9e105f4a19bacac17c06ff276066e13cdb02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5c4a2a292133a1a0959e7b1f97c998d0ff6719b2dac3e27629a639f2bb5d226db3838023196b7742e4497533a60e4f9753f099a6b56cc09eb783554e7e233ec
|
7
|
+
data.tar.gz: 9c6a3a058bdb2c8aa15831c4d11ce12b6755c12b5ccccea4860dfe5173281842d881ddc7275a12237534c1d78616f7af2074728e31bfaa364e7ae3a36c884697
|
@@ -1,9 +1,10 @@
|
|
1
1
|
class AdjustFieldLength < CamaManager.migration_class
|
2
2
|
def change
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
post_table = CamaleonCms::Post.table_name
|
4
|
+
change_column post_table, :title, :text
|
5
|
+
remove_index(post_table, :slug) if index_exists?(post_table, :slug)
|
6
|
+
change_column post_table, :slug, :text
|
7
|
+
add_index post_table, :slug, length: 500
|
7
8
|
change_column "#{PluginRoutes.static_system_info["db_prefix"]}term_taxonomy", :name, :text
|
8
9
|
end
|
9
10
|
end
|
data/lib/camaleon_cms/version.rb
CHANGED