my_forum 0.0.1.beta50 → 0.0.1.beta51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/20160210130805_add_indexes_for_topics.rb +7 -0
- data/lib/my_forum/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d79a687037e1c7872311e408f97b7d1c60d4aa6b
|
4
|
+
data.tar.gz: 3ea5e79a0441c6e4ffe57587a8eed390a9a96403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5339c3a555bef0e68173f0fd4b14b741baa0e3cdf97890fdcb8895bdbe0d65cce37752c872adb219e43a17b131b10138df0bfbb36fc0ab79154b430c53898c4
|
7
|
+
data.tar.gz: 9c205fdb56efa66b7e7a1e2eefe70e201434256057f67e4d4f854e7f076f8e36cea09bbb855cb0f521253d248e4bfc4582a46d5709a8d4ad6303f88a1dab80b4
|
@@ -0,0 +1,7 @@
|
|
1
|
+
class AddIndexesForTopics < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
add_index :my_forum_topics, :latest_post_created_at, name: 'index_topics_latest_created_post'
|
4
|
+
add_index :my_forum_topics, [:deleted, :latest_post_created_at], name: 'index_topics_deleted_latest_created_post'
|
5
|
+
add_index :my_forum_topics, [:pinned, :latest_post_created_at, :deleted], name: 'index_topics_pinned_deleted_latest_created_post'
|
6
|
+
end
|
7
|
+
end
|
data/lib/my_forum/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_forum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.beta51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vitaly Omelchenko
|
@@ -284,6 +284,7 @@ files:
|
|
284
284
|
- db/migrate/20151221203243_my_forum_rename_user_avatar.rb
|
285
285
|
- db/migrate/20151221205045_my_forum_change_user_avatar.rb
|
286
286
|
- db/migrate/20160122202142_add_latest_post_info_for_topic.rb
|
287
|
+
- db/migrate/20160210130805_add_indexes_for_topics.rb
|
287
288
|
- lib/my_forum.rb
|
288
289
|
- lib/my_forum/engine.rb
|
289
290
|
- lib/my_forum/version.rb
|