hmn/src/migration/migrations
Ben Visness a147cfa325 Rework DB API
This takes advantage of generics, and generally clears up a lot of
inconsistencies and quality-of-life issues.

Start of db rework: clean up, start generics, improve tests

Write some nice aspirational package docs

Rework and document the db API

Tests still pass, at least...now for everything else

Update all callsites of db functions

Finish converting all callsites

Not too bad actually! Centralizing access into the helpers makes a big
difference.

wtf it works
2022-05-06 16:56:13 -05:00
..
2021-03-10T051621Z_Initial.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-03-26T033834Z_AddSessionTable.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-03-28T152630Z_AllowLongerPasswordHashes.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-04-09T000000Z_DeleteOrphanedData.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-04-11T195747Z_RemoveMemberAndExtended.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-04-11T210958Z_RemoveMemberAndExtended2.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-04-23T000000Z_FixOrphanedPostTextVersions.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-04-23T021147Z_RemovePostText.go Get post content migrated and loading 2021-04-22 23:07:44 -05:00
2021-04-26T000000Z_DeleteStaticPages.go Improve post query performance 2021-04-26 20:49:46 -05:00
2021-04-26T000001Z_FixPostCategoryId.go Improve post query performance 2021-04-26 20:49:46 -05:00
2021-04-26T235720Z_AddCommonFieldsToPosts.go Improve post query performance 2021-04-26 20:49:46 -05:00
2021-04-27T034327Z_UsernameUniqueIndex.go Added unique case-insensitive index on auth_user.username 2021-04-27 06:55:17 +03:00
2021-04-28T015537Z_RenameHMNProject.go Implement post links in feed / landing page 2021-04-27 22:30:02 -05:00
2021-04-29T043548Z_RenameModeratedFields.go Start work on forum category indexes 2021-04-28 23:52:27 -05:00
2021-05-04T001258Z_DeleteBadUnreadInfo.go Get forum threads mostly implemented 2021-05-03 20:59:45 -05:00
2021-05-04T002952Z_AddUnreadInfoConstraints.go Get forum threads mostly implemented 2021-05-03 20:59:45 -05:00
2021-05-06T031328Z_RemoveProjectNulls.go Make some project fields not null 2021-05-05 23:04:58 -05:00
2021-06-12T014231Z_AddCSRFToken.go Start forum editing experience, including bbcode parser 2021-07-04 15:31:37 -05:00
2021-07-03T200233Z_RemoveParserField.go WIP broken schema changes for forum editing 2021-07-04 15:32:07 -05:00
2021-07-04T204642Z_ReworkPostFields.go Clean up lots of old post fields 2021-07-04 16:24:48 -05:00
2021-07-04T213658Z_DropThreadFields.go Get forum post creation working 2021-07-04 17:48:08 -05:00
2021-07-04T220228Z_FixPostConstraints.go Get forum post creation working 2021-07-04 17:48:08 -05:00
2021-07-11T060838Z_RenamePodcastColumns.go Podcasts 2021-07-23 06:09:46 +03:00
2021-07-20T024051Z_AddPostReplyId.go Add an explicit post reply feature 2021-07-19 22:07:15 -05:00
2021-07-22T015929Z_DropSuperuserColumn.go Add permission check on post editing 2021-07-21 21:16:10 -05:00
2021-07-28T020000Z_ReworkThreads.go Rework the category/thread data model 2021-07-29 22:49:24 -05:00
2021-07-28T033604Z_AddThreadAndPostConstraints.go Rework the category/thread data model 2021-07-29 22:49:24 -05:00
2021-07-28T040000Z_RenameCategoryToSubforum.go Rework the category/thread data model 2021-07-29 22:49:24 -05:00
2021-07-30T034432Z_AddUserLastMarkedRead.go Add back the ability to mark everything on the site as unread 2021-07-29 23:48:30 -05:00
2021-07-30T164240Z_DropPostParentID.go Implement blog posts 2021-07-30 14:59:48 -05:00
2021-08-03T014812Z_DefaultNotSticky.go Add blog indexes 2021-08-02 20:52:46 -05:00
2021-08-03T021418Z_DropAuthGroups.go Add permission check to the New Post button 2021-08-02 22:27:59 -05:00
2021-08-07T185330Z_AddDiscordBotTables.go Add Discord integration 2021-08-15 20:21:04 -05:00
2021-08-08T093624Z_FixupUsersForRegistration.go Registration flow and email 2021-08-08 23:05:52 +03:00
2021-08-08T110926Z_AddDeletionIndices.go Registration flow and email 2021-08-08 23:05:52 +03:00
2021-08-08T134655Z_DeleteInactiveUsers.go Registration flow and email 2021-08-08 23:05:52 +03:00
2021-08-08T141819Z_FinalizeOneTimeTokenChanges.go Registration flow and email 2021-08-08 23:05:52 +03:00
2021-08-16T023440Z_DiscordData.go Add Discord account linking 2021-08-15 23:40:56 -05:00
2021-08-17T052508Z_OTTUniqueConstraint.go Added unique constraint on onetimetoken 2021-08-17 08:31:48 +03:00
2021-08-23T230559Z_DiscordDefaults.go Create snippets! 2021-08-23 19:49:39 -05:00
2021-08-26T005607Z_FixSnippetConstraints.go Delete stuff on message delete 2021-08-26 18:33:39 -05:00
2021-08-27T190408Z_NewLinkData.go Add user edit form 2021-08-27 17:18:02 -05:00
2021-08-28T121228Z_ChangeHMNColors.go No longer require a migration in seedfile 2021-09-05 19:43:49 -05:00
2021-08-28T124959Z_RemoveFeatureFlags.go Restrict project header links 2021-08-28 08:11:01 -05:00
2021-09-05T223354Z_PublicInFunctions.go Prefix things with "public." inside Postgres functions 2021-09-05 17:43:34 -05:00
2021-09-06T213226Z_DeleteIncorrectReplies.go Don't treat replies to the OP as replies 2021-09-06 16:40:00 -05:00
2021-09-08T004357Z_ImageFileNotNull.go Put timestamp in avatar filenames to avoid cache problems 2021-09-07 19:55:52 -05:00
2021-09-09T033556Z_DropUpdateColumns.go Update project last updated fields on new forum/blog posts 2021-09-08 22:44:46 -05:00
2021-09-22T182718Z_AddHandmadePostAssetUsage.go Added basic usage tracking for posts. 2021-09-22 22:18:39 +03:00
2021-09-23T041521Z_ApproveActiveUsers.go Switch to centralized helpers for fetching threads/posts 2021-09-22 23:48:31 -05:00
2021-09-23T061211Z_AddSubforumSort.go Add a sort field to subforums 2021-09-23 01:18:45 -05:00
2021-09-25T023810Z_AddJamSnippetField.go Do jam showcase stuff 2021-09-24 22:53:00 -05:00
2021-11-06T033835Z_CleanUpProjects.go Update data model for personal projects 2021-11-06 15:25:31 -05:00
2021-11-06T033930Z_PersonalProjects.go Rework DB API 2022-05-06 16:56:13 -05:00
2021-11-28T162300Z_AddLogoAssetsToProjects.go Personal project creation 2021-12-02 12:53:36 +02:00
2021-11-28T170218Z_AddDefaultsToProjects.go Personal project creation 2021-12-02 12:53:36 +02:00
2021-12-26T101633Z_UserAvatarAssetId.go Assets for user avatars 2021-12-29 16:38:23 +02:00
2022-02-13T132653Z_RemoveUserAvatarUrl.go Removed old user avatar url field from the db 2022-02-13 21:52:29 +02:00
2022-02-13T200155Z_RemoveProjectLogoUrls.go Removed old project logo url fields 2022-02-13 22:07:09 +02:00
2022-03-15T012144Z_TwitchTables.go Twitch monitoring 2022-03-22 20:07:43 +02:00
2022-03-15T063506Z_AddIndexOnTwitchStreams.go Twitch monitoring 2022-03-22 20:07:43 +02:00
migrations.go Implement the down migration for personal projects 2021-11-10 09:53:24 -08:00