mirror of
https://github.com/outline/outline.git
synced 2026-06-30 19:47:28 +03:00
76bd503581
* Add team description column and settings - Add database migration to add description column to teams table - Update server-side Team model with description field and validation - Update client-side Team model to include description field - Add description input field to team settings page - Update renderApp to use team description in HTML metadata when public branding is enabled * Applied automatic fixes * tweaks --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
16 lines
323 B
JavaScript
16 lines
323 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn('teams', 'description', {
|
|
type: Sequelize.TEXT,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
down: async (queryInterface, Sequelize) => {
|
|
await queryInterface.removeColumn('teams', 'description');
|
|
}
|
|
};
|
|
|