summaryrefslogtreecommitdiff
path: root/lib/migrations (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-06Add missing migration for permissionsSheogorath1-0/+11
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-02-09Fix field type to prevent data truncation of authorship (#721)Max Wu1-0/+13
* Fix field type to prevent data truncation of authorship
2018-02-08Fix typo of DB migration scriptTakeaki Matsumoto1-2/+2
Signed-off-by: Takeaki Matsumoto <takeaki.matsumoto@ntt.com>
2017-10-16Fix #521 by converting content fields to LONGTEXT in MySQL, to prevent ↵Claudius Coenen1-0/+16
truncation of data.
2017-03-28fix: Other dialect duplicated add index problemBoHong Li1-3/+9
Detect is using SQLite to add index
2017-03-28fix: Support SQliteBoHong Li3-7/+25
Move 'unique' constraint to another statement (SQLite don't support set unique when addColumn)
2017-03-27fix: Add missing migrationBoHong Li7-0/+139
2017-03-24fix: Fixed sequelize-cli db:migration cannot stop when occur errorBoHong Li5-41/+51
Up and Down method must return a Promise. breaking changes: docker-hackmd cannot initialize, because db:migration will fail
2017-03-14Use strict mode in all backend filesBoHong Li5-0/+5
add ‘use strict’ in all backend file
2017-03-08Use JavaScript Standard StyleBoHong Li5-45/+29
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
2017-01-21Fix redundant parameter to removeColumn in db migration scriptsWu Cheng-Han2-3/+3
2017-01-02Fix migration script of revision lacks of definition of primary keyWu Cheng-Han1-1/+4
2016-12-02Update to support optional email register and signinWu Cheng-Han1-0/+13
2016-10-10Update to support delete noteWu Cheng-Han1-0/+11
2016-07-30Add support of saving authors and authorshipWu Cheng-Han1-0/+28
2016-06-17Add support of saving note revision and improve app start and stop procedure ↵Cheng-Han, Wu1-0/+24
to ensure data integrity
2016-05-15Add db migrations for PR #121Cheng-Han, Wu1-0/+15