mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
62ee075a6f
* feat: store user timezone * tz validation
16 lines
358 B
JavaScript
16 lines
358 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("users", "timezone", {
|
|
type: Sequelize.STRING,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface, Sequelize) {
|
|
await queryInterface.removeColumn("users", "timezone");
|
|
},
|
|
};
|