effective_pages 3.14.4 → 3.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/effective/permalink.rb +4 -0
- data/db/migrate/101_create_effective_pages.rb +10 -0
- data/lib/effective_pages/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4c5c010eb0062bb4d36b19ab478e5e64c53bc187e40a05f86474653efe16cbb
|
4
|
+
data.tar.gz: 5efeb5d54ae12c0bb645543a2be34384d501bae3dbba777fe085906f3fd9a034
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 635d94a58f8b5940e9176215c43fcff111a27c355a599859e1e4aea47a5127fea8ce6ea5fdc7d2e32563a4a36cce44b8f4a023fc5bca6edb3e2a8044e6e4dd79
|
7
|
+
data.tar.gz: 3fd3d0e922af563574c46034c7ba111e4935b0cde3b840b9f26af85ccb77e5c9f1f19deb7160a9837852f87b65fe3263e72c1775c4cea2d1d9a309a0cf76fa73
|
@@ -39,6 +39,10 @@ class CreateEffectivePages < ActiveRecord::Migration[6.0]
|
|
39
39
|
end
|
40
40
|
|
41
41
|
add_index :pages, :slug, :unique => true
|
42
|
+
add_index :pages, [:published_start_at, :published_end_at], if_not_exists: true
|
43
|
+
add_index :pages, :menu, if_not_exists: true
|
44
|
+
add_index :pages, :menu_parent_id, if_not_exists: true
|
45
|
+
add_index :pages, :menu_position, if_not_exists: true
|
42
46
|
|
43
47
|
create_table :page_banners do |t|
|
44
48
|
t.string :name
|
@@ -89,6 +93,9 @@ class CreateEffectivePages < ActiveRecord::Migration[6.0]
|
|
89
93
|
t.timestamps
|
90
94
|
end
|
91
95
|
|
96
|
+
add_index :carousel_items, :carousel, if_not_exists: true
|
97
|
+
add_index :carousel_items, :position, if_not_exists: true
|
98
|
+
|
92
99
|
create_table :alerts, if_not_exists: true do |t|
|
93
100
|
t.boolean :enabled
|
94
101
|
|
@@ -118,6 +125,9 @@ class CreateEffectivePages < ActiveRecord::Migration[6.0]
|
|
118
125
|
|
119
126
|
t.timestamps
|
120
127
|
end
|
128
|
+
|
129
|
+
add_index :taggings, [:taggable_type, :taggable_id], if_not_exists: true
|
130
|
+
add_index :taggings, :tag_id, if_not_exists: true
|
121
131
|
end
|
122
132
|
|
123
133
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.14.
|
4
|
+
version: 3.14.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|