projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/correctly-send-activities' into develop
[oweals/peertube.git]
/
server
/
initializers
/
migrations
/
0245-user-blocked.ts
diff --git
a/server/initializers/migrations/0245-user-blocked.ts
b/server/initializers/migrations/0245-user-blocked.ts
index 5a04ecd2b2bcccb0b0e6bf36453ebd81770b4685..19c7d5b9c57fa9c4ffa57da8ae9525842684d942 100644
(file)
--- a/
server/initializers/migrations/0245-user-blocked.ts
+++ b/
server/initializers/migrations/0245-user-blocked.ts
@@
-1,5
+1,4
@@
import * as Sequelize from 'sequelize'
import * as Sequelize from 'sequelize'
-import { CONSTRAINTS_FIELDS } from '../constants'
async function up (utils: {
transaction: Sequelize.Transaction
async function up (utils: {
transaction: Sequelize.Transaction
@@
-31,7
+30,7
@@
async function up (utils: {
{
const data = {
{
const data = {
- type: Sequelize.STRING(
CONSTRAINTS_FIELDS.USERS.BLOCKED_REASON.max
),
+ type: Sequelize.STRING(
250
),
allowNull: true,
defaultValue: null
}
allowNull: true,
defaultValue: null
}