iceshrimp/packages/backend/migration
naskya 94eb321431 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
1556348509290-Pages.js
1556746559567-UserProfile.js
1557476068003-PinnedUsers.js
1557761316509-AddSomeUrls.js
1557932705754-ObjectStorageSetting.js
1558072954435-PageLike.js
1558103093633-UserGroup.js
1558257926829-UserGroupInvite.js
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
1562422242907-PasswordLessLogin.js
1562444565093-PinnedPage.js
1562448332510-PageTitleHideOption.js fix migrations 2022-03-01 00:07:03 +09:00
1562869971568-ModerationLog.js
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
1576269851876-TalkFederationId.js fix migrations 2022-03-01 00:07:03 +09:00
1576869585998-ProxyRemoteFiles.js
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
1586641139527-remote-reaction.js fix migrations 2022-03-01 00:07:03 +09:00
1586708940386-pageAiScript.js
1588044505511-hCaptcha.js fix migrations 2022-03-01 00:07:03 +09:00
1589023282116-pubRelay.js
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
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
1597236229720-IncludingNotificationTypes.js
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
1600353287890-mutingNotificationTypes.js
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
1605408971051-comments.js
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
1607151207216-instance-pinned-clip.js fix migrations 2022-03-01 00:07:03 +09:00
1607353487793-isExplorable.js
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
1612619156584-announcement-email.js fix migrations 2022-03-01 00:07:03 +09:00
1613155914446-emailNotificationTypes.js
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
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
1629004542760-chart-reindex.js fix migrations 2022-03-01 00:07:03 +09:00
1629024377804-deepl-integration.js
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
1629833361000-AddShowTLReplies.js
1629968054000_userInstanceBlocks.js
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
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
1642611822809-emoji-url.js fix migrations 2022-03-01 00:07:03 +09:00
1642613870898-drive-file-webpublic-type.js
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
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
1645599900873-federation-chart-pubsub.js fix migrations 2022-03-01 00:07:03 +09:00
1646143552768-instance-default-theme.js
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
1646655454495-remove-instance-drive-columns.js
1646732390560-chart-federation-active-sub-pub.js fix federation chart 2022-03-08 22:56:46 +09:00
1648548247382-webhook.js
1648816172177-webhook-2.js
1651224615271-foreign-key.js Update 1651224615271-foreign-key.js 2022-07-17 05:12:59 +09:00
1652859567549-uniform-themecolor.js
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
1657346559800-active-email-validation.js
1658203170545calckey.js refactor: new repo link 2022-12-18 10:12:24 -08:00
1658656633972-note-replies-function.js
1658939464003CustomMOTD.js
1658941974648CustomSplashIcons.js
1658981842728FixCalckey.js refactor: new repo link 2022-12-18 10:12:24 -08:00
1659042130648RecommendedTimeline.js
1660068273737GuestTimeline.js
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