2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-30 21:45:13 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
nanaya
2a6b741326 Update db structure file 2024-12-11 06:57:33 +09:00
nanaya
58d63af847 Remove unused sequence
No idea who made it.
2021-02-12 06:34:06 +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
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
d4292b6a99 Update structure file 2016-05-28 12:16:12 +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
6a42cd9427 Add missing foreign key on posts_tags table. 2014-11-20 17:50:42 +09:00
edogawaconan
cc2d4227aa Synchronize db's structure.sql. 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
Edho Arief
33b35619a9 Update structure with the latest api key stuff.
--HG--
extra : rebase_source : 5d330d4db2f4ee90e67d31a012b3e0218bcdb600
2013-03-27 01:12:31 +09:00
Edho Arief
d02e19b18d Update structure to reflect latest database. 2013-03-26 09:07:07 -07:00
Edho Arief
50a9b7a5a6 Merge table trimming. 2012-09-21 11:09:18 +07:00
Edho Arief
284bf95a4d Another posts table trimming.
--HG--
branch : 3.2.0-release
2012-09-20 21:08:13 -07:00
Edho Arief
a2b24af8d8 Import fixes. 2012-09-21 11:04:49 +07:00
Edho Arief
d9a53965e3 More posts table diet.
--HG--
branch : 3.2.0-release
2012-09-20 10:43:10 -07:00
Edho Arief
5732798cbe Uh, sync schema with actual database.
--HG--
branch : 3.2.0-release
2012-09-20 10:37:16 -07:00
Edho Arief
4b5b73a5a0 Resync structure.sql with reference (yande.re). 2012-09-04 23:22:21 +07:00
Edho Arief
33a06d3a9e Added updated_at column to posts. 2012-08-29 22:31:56 -07:00
Edho Arief
2aa689777c Import fix. 2012-08-13 23:13:44 +07:00
Edho Arief
68506ec467 Structure update.
--HG--
branch : 3.2.0-release
2012-08-13 23:12:09 +07:00
Edho Arief
a501a3a40f Dropped ServerKey since it's not used. 2012-08-04 20:08:38 +07:00
Edho Arief
389f3039c6 Update ze trigger. 2012-07-23 18:25:40 +02:00
Edho Arief
f9e36d1e28 Renamed column name for history's column name (previously called field).
Removing the need to workaround.
2012-07-23 18:07:48 +02:00
Edho Arief
fa563dcf28 Update to 9.1-style. Allows non-superuser db installation. 2012-07-18 13:39:14 +02:00
Edho Arief
f0cac634fe Forgot to do the latest migration.
--HG--
extra : rebase_source : 9a93dc146d019abf82a9385a22703d8cce0a1220
2012-06-03 23:13:08 +07:00
Edho Arief
25b0403eae Downgraded PostgreSQL structure to 8.4. 2012-06-03 05:09:08 -04:00
Edho Arief
a8794440c3 Dump latest sql schema since migration can't be done cleanly after the upgrade. 2012-06-03 15:58:56 +07:00