mirror of
https://github.com/outline/outline.git
synced 2026-11-29 16:40:27 +03:00
Merge pull request #207 from jorilallo/allow-null-username
Allow null username
This commit is contained in:
commit
d5f0dcb74c
1 file changed
+15
@@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
up: async function(queryInterface, Sequelize) {
|
||||
await queryInterface.changeColumn('users', 'username', {
|
||||
type: Sequelize.STRING,
|
||||
allowNull: true,
|
||||
});
|
||||
},
|
||||
|
||||
down: async function(queryInterface, Sequelize) {
|
||||
await queryInterface.changeColumn('users', 'username', {
|
||||
type: Sequelize.STRING,
|
||||
allowNull: false,
|
||||
});
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user