calckey/packages/backend/migration
naskya 1c0d4546f7 feat: set license information for custom emojis (#9719)
Closes: #9711 (please check this issue first)

I cherry-picked two commits ([1](8ae9d2eaa8), [2](ed51209172)) from [Misskey](https://github.com/misskey-dev/misskey) and made a few changes.
「ライセンス」should be written as "License" in the following screenshots, but it has not yet been translated.

It would be nice if we could include multiple lines of text, but I just ported what's been implemented so far in Misskey not to mess things up.

This is my first pull request (aside from typo correction). Feel free to point out any issues!

![](https://cdn.discordapp.com/attachments/823878222897741868/1086372711841935440/2023-03-18_042011.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373178214981853/01.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373336709341246/2023-03-18_042629.png)

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9719
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-19 07:22:28 +00:00
..
1000000000000-Init.js fix migrations 2022-03-01 00:07:03 +09:00
1556348509290-Pages.js fix migrations 2022-03-01 00:07:03 +09:00
1556746559567-UserProfile.js fix migrations 2022-03-01 00:07:03 +09:00
1557476068003-PinnedUsers.js fix migrations 2022-03-01 00:07:03 +09:00
1557761316509-AddSomeUrls.js fix migrations 2022-03-01 00:07:03 +09:00
1557932705754-ObjectStorageSetting.js fix migrations 2022-03-01 00:07:03 +09:00
1558072954435-PageLike.js fix migrations 2022-03-01 00:07:03 +09:00
1558103093633-UserGroup.js fix migrations 2022-03-01 00:07:03 +09:00
1558257926829-UserGroupInvite.js fix migrations 2022-03-01 00:07:03 +09:00
1558266512381-UserListJoining.js fix migrations 2022-03-01 00:07:03 +09:00
1561706992953-webauthn.js fix migrations 2022-03-01 00:07:03 +09:00
1561873850023-ChartIndexes.js fix migrations 2022-03-01 00:07:03 +09:00
1562422242907-PasswordLessLogin.js fix migrations 2022-03-01 00:07:03 +09:00
1562444565093-PinnedPage.js fix migrations 2022-03-01 00:07:03 +09:00
1562448332510-PageTitleHideOption.js fix migrations 2022-03-01 00:07:03 +09:00
1562869971568-ModerationLog.js fix migrations 2022-03-01 00:07:03 +09:00
1563757595828-UsedUsername.js fix migrations 2022-03-01 00:07:03 +09:00
1565634203341-room.js fix migrations 2022-03-01 00:07:03 +09:00
1571220798684-CustomEmojiCategory.js fix migrations 2022-03-01 00:07:03 +09:00
1572760203493-nodeinfo.js fix migrations 2022-03-01 00:07:03 +09:00
1576269851876-TalkFederationId.js fix migrations 2022-03-01 00:07:03 +09:00
1576869585998-ProxyRemoteFiles.js fix migrations 2022-03-01 00:07:03 +09:00
1579267006611-v12.js fix migrations 2022-03-01 00:07:03 +09:00
1579270193251-v12-2.js fix migrations 2022-03-01 00:07:03 +09:00
1579282808087-v12-3.js fix migrations 2022-03-01 00:07:03 +09:00
1579544426412-v12-4.js fix migrations 2022-03-01 00:07:03 +09:00
1579977526288-v12-5.js fix migrations 2022-03-01 00:07:03 +09:00
1579993013959-v12-6.js fix migrations 2022-03-01 00:07:03 +09:00
1580069531114-v12-7.js fix migrations 2022-03-01 00:07:03 +09:00
1580148575182-v12-8.js fix migrations 2022-03-01 00:07:03 +09:00
1580154400017-v12-9.js fix migrations 2022-03-01 00:07:03 +09:00
1580276619901-v12-10.js fix migrations 2022-03-01 00:07:03 +09:00
1580331224276-v12-11.js fix migrations 2022-03-01 00:07:03 +09:00
1580508795118-v12-12.js fix migrations 2022-03-01 00:07:03 +09:00
1580543501339-v12-13.js fix migrations 2022-03-01 00:07:03 +09:00
1580864313253-v12-14.js fix migrations 2022-03-01 00:07:03 +09:00
1581526429287-user-group-invitation.js fix migrations 2022-03-01 00:07:03 +09:00
1581695816408-user-group-antenna.js fix migrations 2022-03-01 00:07:03 +09:00
1581708415836-drive-user-folder-id-index.js fix migrations 2022-03-01 00:07:03 +09:00
1581979837262-promo.js fix migrations 2022-03-01 00:07:03 +09:00
1582019042083-featured-injecttion.js fix migrations 2022-03-01 00:07:03 +09:00
1582210532752-antenna-exclude.js fix migrations 2022-03-01 00:07:03 +09:00
1582875306439-note-reaction-length.js fix migrations 2022-03-01 00:07:03 +09:00
1585361548360-miauth.js fix migrations 2022-03-01 00:07:03 +09:00
1585385921215-custom-notification.js fix migrations 2022-03-01 00:07:03 +09:00
1585772678853-ap-url.js fix migrations 2022-03-01 00:07:03 +09:00
1586624197029-AddObjectStorageUseProxy.js fix migrations 2022-03-01 00:07:03 +09:00
1586641139527-remote-reaction.js fix migrations 2022-03-01 00:07:03 +09:00
1586708940386-pageAiScript.js fix migrations 2022-03-01 00:07:03 +09:00
1588044505511-hCaptcha.js fix migrations 2022-03-01 00:07:03 +09:00
1589023282116-pubRelay.js fix migrations 2022-03-01 00:07:03 +09:00
1595075960584-blurhash.js fix migrations 2022-03-01 00:07:03 +09:00
1595077605646-blurhash-for-avatar-banner.js fix migrations 2022-03-01 00:07:03 +09:00
1595676934834-instance-icon-url.js fix migrations 2022-03-01 00:07:03 +09:00
1595771249699-word-mute.js fix migrations 2022-03-01 00:07:03 +09:00
1595782306083-word-mute2.js fix migrations 2022-03-01 00:07:03 +09:00
1596548170836-channel.js fix migrations 2022-03-01 00:07:03 +09:00
1596786425167-channel2.js fix migrations 2022-03-01 00:07:03 +09:00
1597230137744-objectStorageSetPublicRead.js fix migrations 2022-03-01 00:07:03 +09:00
1597236229720-IncludingNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1597385880794-add-sensitive-index.js fix migrations 2022-03-01 00:07:03 +09:00
1597459042300-channel-unread.js fix migrations 2022-03-01 00:07:03 +09:00
1597893996136-ChannelNoteIdDescIndex.js fix migrations 2022-03-01 00:07:03 +09:00
1600353287890-mutingNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1603094348345-refine-abuse-user-report.js fix migrations 2022-03-01 00:07:03 +09:00
1603095701770-refine-abuse-user-report2.js fix migrations 2022-03-01 00:07:03 +09:00
1603776877564-instance-theme-color.js fix migrations 2022-03-01 00:07:03 +09:00
1603781553011-instance-favicon.js fix migrations 2022-03-01 00:07:03 +09:00
1604821689616-delete-auto-watch.js fix migrations 2022-03-01 00:07:03 +09:00
1605408848373-clip-description.js fix migrations 2022-03-01 00:07:03 +09:00
1605408971051-comments.js fix migrations 2022-03-01 00:07:03 +09:00
1605585339718-instance-pinned-pages.js fix migrations 2022-03-01 00:07:03 +09:00
1605965516823-instance-images.js fix migrations 2022-03-01 00:07:03 +09:00
1606191203881-no-crawle.js fix migrations 2022-03-01 00:07:03 +09:00
1607151207216-instance-pinned-clip.js fix migrations 2022-03-01 00:07:03 +09:00
1607353487793-isExplorable.js fix migrations 2022-03-01 00:07:03 +09:00
1610277136869-registry.js fix migrations 2022-03-01 00:07:03 +09:00
1610277585759-registry2.js fix migrations 2022-03-01 00:07:03 +09:00
1610283021566-registry3.js fix migrations 2022-03-01 00:07:03 +09:00
1611354329133-followersUri.js fix migrations 2022-03-01 00:07:03 +09:00
1611397665007-gallery.js fix migrations 2022-03-01 00:07:03 +09:00
1611547387175-objectStorageS3ForcePathStyle.js fix migrations 2022-03-01 00:07:03 +09:00
1612619156584-announcement-email.js fix migrations 2022-03-01 00:07:03 +09:00
1613155914446-emailNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1613181457597-user-lang.js fix migrations 2022-03-01 00:07:03 +09:00
1613503367223-use-bigint-for-driveUsage.js fix migrations 2022-03-01 00:07:03 +09:00
1615965918224-chart-v2.js fix migrations 2022-03-01 00:07:03 +09:00
1615966519402-chart-v2-2.js fix migrations 2022-03-01 00:07:03 +09:00
1618637372000-user-last-active-date.js fix migrations 2022-03-01 00:07:03 +09:00
1618639857000-user-hide-online-status.js fix migrations 2022-03-01 00:07:03 +09:00
1619942102890-password-reset.js fix migrations 2022-03-01 00:07:03 +09:00
1620019354680-ad.js fix migrations 2022-03-01 00:07:03 +09:00
1620364649428-ad2.js fix migrations 2022-03-01 00:07:03 +09:00
1621479946000-add-note-indexes.js fix migrations 2022-03-01 00:07:03 +09:00
1622679304522-user-profile-description-length.js fix migrations 2022-03-01 00:07:03 +09:00
1622681548499-log-message-length.js fix migrations 2022-03-01 00:07:03 +09:00
1626509500668-fix-remote-file-proxy.js fix migrations 2022-03-01 00:07:03 +09:00
1626733991004-allowlist-secure-mode.js Add migration for allowedHosts, secureMode, privateMode 2022-07-17 14:02:40 -07:00
1629004542760-chart-reindex.js fix migrations 2022-03-01 00:07:03 +09:00
1629024377804-deepl-integration.js fix migrations 2022-03-01 00:07:03 +09:00
1629288472000-fix-channel-userId.js fix migrations 2022-03-01 00:07:03 +09:00
1629512953000-user-is-deleted.js fix migrations 2022-03-01 00:07:03 +09:00
1629778475000-deepl-integration2.js fix migrations 2022-03-01 00:07:03 +09:00
1629833361000-AddShowTLReplies.js fix migrations 2022-03-01 00:07:03 +09:00
1629968054000_userInstanceBlocks.js fix migrations 2022-03-01 00:07:03 +09:00
1633068642000-email-required-for-signup.js fix migrations 2022-03-01 00:07:03 +09:00
1633071909016-user-pending.js fix migrations 2022-03-01 00:07:03 +09:00
1634486652000-user-public-reactions.js fix migrations 2022-03-01 00:07:03 +09:00
1634902659689-delete-log.js fix migrations 2022-03-01 00:07:03 +09:00
1635500777168-note-thread-mute.js fix migrations 2022-03-01 00:07:03 +09:00
1636197624383-ff-visibility.js fix migrations 2022-03-01 00:07:03 +09:00
1636697408073-remove-via-mobile.js fix migrations 2022-03-01 00:07:03 +09:00
1637320813000-forwarded-report.js fix migrations 2022-03-01 00:07:03 +09:00
1639325650583-chart-v3.js fix migrations 2022-03-01 00:07:03 +09:00
1642611822809-emoji-url.js fix migrations 2022-03-01 00:07:03 +09:00
1642613870898-drive-file-webpublic-type.js fix migrations 2022-03-01 00:07:03 +09:00
1643963705770-chart-v4.js fix migrations 2022-03-01 00:07:03 +09:00
1643966656277-chart-v5.js fix migrations 2022-03-01 00:07:03 +09:00
1643967331284-chart-v6.js fix migrations 2022-03-01 00:07:03 +09:00
1644010796173-convert-hard-mutes.js fix migrations 2022-03-01 00:07:03 +09:00
1644058404077-chart-v7.js fix migrations 2022-03-01 00:07:03 +09:00
1644059847460-chart-v8.js fix migrations 2022-03-01 00:07:03 +09:00
1644060125705-chart-v9.js fix migrations 2022-03-01 00:07:03 +09:00
1644073149413-chart-v10.js fix migrations 2022-03-01 00:07:03 +09:00
1644095659741-chart-v11.js fix migrations 2022-03-01 00:07:03 +09:00
1644328606241-chart-v12.js fix migrations 2022-03-01 00:07:03 +09:00
1644331238153-chart-v13.js fix migrations 2022-03-01 00:07:03 +09:00
1644344266289-chart-v14.js fix migrations 2022-03-01 00:07:03 +09:00
1644395759931-instance-theme-color.js fix migrations 2022-03-01 00:07:03 +09:00
1644481657998-chart-v15.js fix migrations 2022-03-01 00:07:03 +09:00
1644551208096-following-indexes.js fix migrations 2022-03-01 00:07:03 +09:00
1645340161439-remove-max-note-text-length.js fix migrations 2022-03-01 00:07:03 +09:00
1645599900873-federation-chart-pubsub.js fix migrations 2022-03-01 00:07:03 +09:00
1646143552768-instance-default-theme.js feat: instance default theme 2022-03-01 23:58:01 +09:00
1646387162108-mute-expires-at.js feat: 時限ミュート 2022-03-04 20:23:53 +09:00
1646549089451-poll-ended-notification.js feat: アンケート終了通知 2022-03-06 16:06:27 +09:00
1646633030285-chart-federation-active.js feat: add active to federation chart 2022-03-07 15:10:16 +09:00
1646655454495-remove-instance-drive-columns.js delete needless instance drive columns 2022-03-07 21:20:14 +09:00
1646732390560-chart-federation-active-sub-pub.js fix federation chart 2022-03-08 22:56:46 +09:00
1648548247382-webhook.js feat: Webhook (#8457) 2022-04-02 15:28:49 +09:00
1648816172177-webhook-2.js feat: Webhook (#8457) 2022-04-02 15:28:49 +09:00
1651224615271-foreign-key.js Update 1651224615271-foreign-key.js 2022-07-17 05:12:59 +09:00
1652859567549-uniform-themecolor.js hotfix: uniform color migration fix 2022-05-19 15:42:55 +02:00
1655368940105-nsfw-detection.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655371960534-nsfw-detection-2.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655388169582-nsfw-detection-3.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655393015659-nsfw-detection-4.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655813815729-driveCapacityOverrideMb.js Add additional drive capacity change support (#8867) 2022-07-05 00:21:01 +09:00
1655918165614-user-ip.js feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
1656122560740-file-ip.js feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
1656251734807-nsfw-detection-5.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1656328812281-ip-2.js feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
1656408772602-nsfw-detection-6.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1656772790599-user-moderation-note.js feat: moderation note 2022-07-03 00:15:03 +09:00
1657346559800-active-email-validation.js enhance: make active email validation configurable 2022-07-09 15:05:55 +09:00
1658203170545calckey.js refactor: new repo link 2022-12-18 10:12:24 -08:00
1658656633972-note-replies-function.js enable to fetch replies recursively 2022-07-25 13:40:37 -07:00
1658939464003CustomMOTD.js Custom MOTD! 2022-07-27 09:46:35 -07:00
1658941974648CustomSplashIcons.js Custom splash icons! 2022-07-27 10:25:30 -07:00
1658981842728FixCalckey.js refactor: new repo link 2022-12-18 10:12:24 -08:00
1659042130648RecommendedTimeline.js Recommended timeline! 2022-07-28 21:28:13 -07:00
1660068273737GuestTimeline.js Add back migration 2022-08-09 19:56:03 -07:00
1668828368510PageDraft.js migration 2022-11-18 19:26:45 -08:00
1668831378728FixCalckeyAgain.js typo 2022-11-18 20:18:00 -08:00
1669288094000-AddMovedToAndKnownAs.js found my DB mistakes 💀 2022-12-07 00:09:12 +01:00
1671199573000-AddFkAbuseUserReportTargetUserIdToUserId.js Add FK abuse_user_report.targetUserId -> user.id (closes #9227) 2022-12-16 17:15:53 +01:00
1671388343000-CalckeyRepoMove.js repo move migration 2022-12-18 19:41:59 +01:00
1672882664294-DefaultReaction.js Admin set default reactions (#9404) 2023-01-05 04:06:48 +00:00
1673336077243-PollChoiceLength.js fix: 🐛 Poll choice length 256 2023-01-10 08:48:10 -08:00
1676093997212-AntennaInstances.js Implementation of an instances wide antenna source. (#9604) 2023-02-12 01:20:17 +00:00
1677935903517-DriveComment.js Expand caption limit to 1500 characters 2023-03-05 16:51:44 +10:00
1678945242650-add-props-for-custom-emoji.js feat: set license information for custom emojis (#9719) 2023-03-19 07:22:28 +00:00