1
0
Fork 0
peertube/server/initializers/migrations
BRAINS YUM d23e6a1c97 Feature/description support fields length 1000 (#1267)
* fix migrations to not use config constant values as it can introduce bugs later when they change; (fixes #1259)
remove constant fields imports from migrations

* add migrations to update description and support fields to 1000 (fixes #1258)

* fix client/server account and video_channel description/support fields to be max len 1000 (fixes #1258);
fix test Should fail with a too long description;
fix test Should fail with a long description;
fix test Should fail with a long description;
Remove USER.SUPPORT from constants since that field no longer exists;
null not false, in migrations/0280-description-support.ts;
video support field 1000, oops;

* rename migration 0280-description-support.ts -> 0285-description-support.ts;
update video support maxlength text
2018-10-19 08:54:01 +02:00
..
0005-email-pod.ts expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
0010-email-user.ts expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
0015-video-views.ts
0020-video-likes.ts
0025-video-dislikes.ts
0030-video-category.ts expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
0035-video-licence.ts expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
0040-video-nsfw.ts expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
0045-user-display-nsfw.ts
0050-video-language.ts
0055-video-uuid.ts Fix last commit 2018-07-26 11:02:04 +02:00
0060-video-file.ts Move video file metadata in their own table 2017-08-25 11:36:23 +02:00
0065-video-file-size.ts replace fs by fs-extra to prevent EMFILE error 2018-08-27 16:03:57 +02:00
0070-user-video-quota.ts expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
0075-video-resolutions.ts Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
0080-video-channels.ts Upgrade server packages 2017-10-31 16:31:24 +01:00
0085-user-role.ts Add tests to user roles 2017-10-27 17:27:06 +02:00
0090-videos-description.ts Add lazy description on server 2017-10-30 10:16:27 +01:00
0095-videos-privacy.ts Add video privacy setting 2017-10-31 11:53:13 +01:00
0100-activitypub.ts Move job queue to redis 2018-01-25 18:41:17 +01:00
0105-server-mail.ts Move models to typescript-sequelize 2017-12-13 16:50:33 +01:00
0110-server-key.ts Move models to typescript-sequelize 2017-12-13 16:50:33 +01:00
0115-account-avatar.ts Move models to typescript-sequelize 2017-12-13 16:50:33 +01:00
0120-video-null.ts Feature/description support fields length 1000 (#1267) 2018-10-19 08:54:01 +02:00
0125-table-lowercase.ts Add migration 2017-12-13 17:46:23 +01:00
0130-user-autoplay-video.ts Enh #106 : Add an autoPlayVideo user attribute (#159) 2017-12-19 10:45:49 +01:00
0135-video-channel-actor.ts Propagate old comment on new follow 2017-12-28 11:16:08 +01:00
0140-actor-url.ts Fix webfinger validator 2017-12-21 10:16:20 +01:00
0145-delete-author.ts Add migration to delete old Authors table 2017-12-29 09:42:57 +01:00
0150-avatar-cascade.ts Begin to add avatar to actors 2017-12-29 19:10:13 +01:00
0155-video-comments-enabled.ts expliciting type checks and predicates (server only) 2018-07-25 22:01:25 +02:00
0160-account-route.ts Fix tls and account bug 2018-01-05 14:15:32 +01:00
0165-video-route.ts Remove :443 from video urls too 2018-01-05 14:51:05 +01:00
0170-actor-follow-score.ts Add scores to follows and remove bad ones 2018-01-11 09:35:50 +01:00
0175-actor-follow-counts.ts Fix lint 2018-01-12 12:18:11 +01:00
0180-job-table-delete.ts Move job queue to redis 2018-01-25 18:41:17 +01:00
0185-video-share-url.ts Don't rehost announced video activities 2018-01-26 15:49:57 +01:00
0190-video-comment-unique-url.ts Fix migrations 2018-01-29 11:58:07 +01:00
0195-support.ts Feature/description support fields length 1000 (#1267) 2018-10-19 08:54:01 +02:00
0200-video-published-at.ts Fix migration 200 2018-03-30 17:47:21 +02:00
0205-user-nsfw-policy.ts Add ability to choose what policy we have for NSFW videos 2018-04-19 11:01:34 +02:00
0210-video-language.ts Use ISO 639 for languages 2018-04-23 14:39:52 +02:00
0215-video-support-length.ts Fix video channel description/support max length 2018-05-09 13:32:44 +02:00
0220-video-state.ts Add concept of video state, and add ability to wait transcoding before 2018-06-12 20:37:51 +02:00
0225-video-fps.ts Handle higher FPS for high resolution (test) 2018-06-29 17:10:54 +02:00
0235-delete-some-video-indexes.ts Optimize SQL queries 2018-07-24 14:04:05 +02:00
0240-drop-old-indexes.ts Delete old indexes 2018-07-27 17:22:20 +02:00
0245-user-blocked.ts Feature/description support fields length 1000 (#1267) 2018-10-19 08:54:01 +02:00
0250-video-abuse-state.ts Feature/description support fields length 1000 (#1267) 2018-10-19 08:54:01 +02:00
0255-video-blacklist-reason.ts Feature/description support fields length 1000 (#1267) 2018-10-19 08:54:01 +02:00
0260-upload-quota-daily.ts Feature/description support fields length 1000 (#1267) 2018-10-19 08:54:01 +02:00
0265-user-email-verified.ts add user account email verificiation (#977) 2018-08-31 09:18:19 +02:00
0270-server-redundancy.ts Basic video redundancy implementation 2018-09-13 14:05:49 +02:00
0275-video-file-unique.ts Avoid old issue regarding duplicated hosts in db 2018-10-08 11:58:18 +02:00
0280-webtorrent-policy-user.ts move to boolean switch 2018-10-13 11:53:48 +02:00
0285-description-support.ts Feature/description support fields length 1000 (#1267) 2018-10-19 08:54:01 +02:00