Ian Morland
82c57cd36a
Add is_sticky, last_posted_at index to improve performance ( #23 )
...
This PR introduces an additional index [is_sticky, last_posted_at] to the discussions table. We discovered that when viewing discussions in a tag with a large number of discussions (approx 1.4M in our case), performance was poor when using the default sort criteria (sort by latest).
2021-01-13 14:18:38 -05:00
Franz Liedke
e9f298bf89
Apply fixes from StyleCI
2019-11-29 23:02:29 +00:00
Daniël Klabbers
bb6ed4a764
revert the fix index names logic, preparing for illuminate 5.7
2019-01-15 21:01:44 +01:00
Toby Zerner
d497e65d21
Fix index names in migrations
...
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:34:00 +10:30
Toby Zerner
aa386b2878
Add database indices. ref flarum/core#127 ( #12 )
2018-09-24 23:49:55 +02:00
Franz Liedke
a8c43097d7
Update namespaces for beta 8
...
Refs flarum/core#1235 .
2017-10-01 19:55:07 +02:00
Toby Zerner
9fb03d3549
Add default permissions
2017-07-22 12:09:36 +09:30
Toby Zerner
7564533d1d
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2016-11-29 05:29:44 +00:00
Franz Liedke
da664d1624
Use new shortcuts for migrations
2016-03-04 01:12:30 +09:00
Franz Liedke
ead84c29c5
Use new migration format
2016-02-24 23:13:39 +09:00
Toby Zerner
37d7874705
Update for composer branch
...
Also remove sticky notification
2015-10-11 11:43:13 +10:30
Toby Zerner
04f33261ee
Namespace migrations
2015-09-17 09:09:11 +09:30
Toby Zerner
3ab62fb0ca
Add LICENSE information
2015-09-04 12:30:25 +09:30
Toby Zerner
05c7438396
Update migrations
2015-08-14 12:55:33 +09:30
Toby Zerner
3787cc413e
Initial commit
2015-05-07 22:26:02 +09:30