nanaya
2a6b741326
Update db structure file
2024-12-11 06:57:33 +09:00
nanaya
be7bb55b97
Add rails version of rubocop
2024-01-08 19:39:01 +09:00
nanaya
58d63af847
Remove unused sequence
...
No idea who made it.
2021-02-12 06:34:06 +09:00
nanaya
f4a1ac0ad4
Remove geoip
...
It's never been used in any meaningful way.
2020-12-20 18:51:13 +09:00
nanaya
b6e61fc2b0
Add index for post warehousing tasks
2020-11-03 23:11:35 +09:00
nanaya
7ccb64c273
Lowercase usernames app-side
...
Database may have different ctype when being migrated around.
2020-09-12 19:33:54 +09:00
nanaya
27ea818e3c
Update travis and bundler, and downgrade minimum postgresql
2020-03-17 16:59:38 +00:00
nanaya
967761fc4b
Fix nat_sort not referring explicit schema
2019-11-11 02:30:13 +09:00
nanaya
47d8a9ca20
Use update instead of update_attributes
2019-08-17 20:37:02 +09:00
nanaya
e6b97e7e64
Update to rails 6
2019-08-17 17:03:23 +09:00
nanaya
2d565d99f7
Speed up user profile page
...
Related method: User#recent_favorite_posts
Thanks to sort order, query optimizer ignores user_id filter/index even though it'll filter out most of the rows.
2019-05-18 20:25:07 +09:00
nanaya
744e03d15f
Extensions are not dumped anymore yay
2018-12-23 00:03:01 +09:00
nanaya
35baf8b9ad
Remove useless and potentially harmful sql command
2018-07-19 00:06:57 +09:00
nanaya
f46ef83177
Fix db structure file
2018-06-24 18:08:42 +09:00
nanaya
ea66597f92
Fix timestamp datatype
2018-06-24 18:01:14 +09:00
Andrzej Trzaska
bae7a7a837
Fix migration issues in Rails 5.1 ( #97 )
2018-03-10 18:15:56 +09:00
nanaya
d4292b6a99
Update structure file
2016-05-28 12:16:12 +09:00
nanaya
c2dc8aa86b
Remove .new when throwing exception
2016-05-24 01:48:55 +09:00
nanaya
9f9f264efe
Add missed batch_uploads update
2016-03-30 15:42:25 +09:00
nanaya
4098d91f8f
Remove custom text search
2016-03-30 15:38:05 +09:00
nanaya
2579c7acac
Remove last user of test_parser
2016-03-30 12:09:38 +09:00
nanaya
207f33b39d
Drop tags_index as it's been replaced by tags_array
2016-03-30 01:04:10 +09:00
nanaya
a084909c64
Use native json type
2016-03-30 01:00:00 +09:00
nanaya
aae4788d8f
Fix error on insert and skip updating
2016-03-29 17:21:14 +09:00
nanaya
32d22bfdf5
Add tags_array index to posts
...
First work on removing usage of testparser
2016-03-29 16:49:28 +09:00
nanaya
b0f75dbee8
Update structure
2016-03-29 15:55:54 +09:00
edogawaconan
772d26b08d
Downgrade structure dump to PostgreSQL 9.1.
2014-11-20 17:50:48 +09:00
edogawaconan
16d8a1d0ed
Remove all tabs.
...
Autocorrected with rubocop. With manual fix on:
- `db/migrate/20100101225942_constrain_user_logs.rb`
2014-11-20 17:50:45 +09:00
edogawaconan
6a42cd9427
Add missing foreign key on posts_tags table.
2014-11-20 17:50:42 +09:00
edogawaconan
651f671449
Better way to concat strings spanning multiple lines.
2014-11-20 17:50:35 +09:00
edogawaconan
a9da5a48af
Add space after comment's #
.
2014-11-20 17:50:35 +09:00
edogawaconan
bb439a11f7
Fix indentation.
2014-11-20 17:50:34 +09:00
edogawaconan
6f8f83b8d0
Fix comment indentation.
2014-11-20 17:50:34 +09:00
edogawaconan
f422df855f
Use .
instead of ::
for method call.
2014-11-20 17:50:34 +09:00
edogawaconan
9970f11221
Prefix unused block argument with _
.
2014-11-20 17:50:34 +09:00
edogawaconan
08f1e6b20e
No explicit Exception rescue.
2014-11-20 17:50:34 +09:00
edogawaconan
e430324321
Fix... indentation...
...
No it doesn't quite.
2014-11-20 17:50:34 +09:00
edogawaconan
455b1db8ba
Remove useless assignment.
...
Yeah, this one is meaningless.
2014-11-20 17:50:33 +09:00
edogawaconan
939bd90cd6
Unify block styling.
...
Courtesy rubocop.
2014-11-20 17:50:31 +09:00
edogawaconan
e468f9e46e
Remove extra newlines.
2014-11-20 17:50:31 +09:00
edogawaconan
e657d36c97
Fix all space-related styling.
...
Courtesy rubocop.
2014-11-20 17:50:30 +09:00
edogawaconan
b26b95f657
Purge out trailing whitespace.
2014-11-20 17:50:29 +09:00
edogawaconan
97a15428fe
Rubocop enforce trailing blank lines with final_newline.
2014-11-20 17:50:29 +09:00
edogawaconan
d61e30ff7e
Double quotes everywhere.
...
Using rubocop's auto-correct.
2014-11-20 17:50:29 +09:00
edogawaconan
782b012018
Use hash rocket syntax everywhere.
2014-11-20 17:50:29 +09:00
edogawaconan
cc2d4227aa
Synchronize db's structure.sql.
2014-11-20 17:50:22 +09:00
edogawaconan
e88d7a441f
Remove weird default post_votes.updated_at.
2014-11-20 17:50:22 +09:00
edogawaconan
f6ac0a727a
Nuke all votes with score less than 1.
2014-11-20 17:50:22 +09:00
edogawaconan
813f973eff
Fix incorrect sequence name.
2014-11-20 17:50:20 +09:00
Edho Arief
f8f94f9bd2
Add index to speed up api key lookup.
...
--HG--
extra : rebase_source : 8822771ae26e8c4d1b24e8d620354a75f54bed84
2013-03-27 01:39:06 +09:00