summaryrefslogtreecommitdiff
path: root/lib/migrations (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix #521 by converting content fields to LONGTEXT in MySQL, to prevent ↵Claudius Coenen2017-10-161-0/+16
| | | | truncation of data.
* fix: Other dialect duplicated add index problemBoHong Li2017-03-281-3/+9
| | | | Detect is using SQLite to add index
* fix: Support SQliteBoHong Li2017-03-283-7/+25
| | | | Move 'unique' constraint to another statement (SQLite don't support set unique when addColumn)
* fix: Add missing migrationBoHong Li2017-03-277-0/+139
|
* fix: Fixed sequelize-cli db:migration cannot stop when occur errorBoHong Li2017-03-245-41/+51
| | | | | | Up and Down method must return a Promise. breaking changes: docker-hackmd cannot initialize, because db:migration will fail
* Use strict mode in all backend filesBoHong Li2017-03-145-0/+5
| | | | add ‘use strict’ in all backend file
* Use JavaScript Standard StyleBoHong Li2017-03-085-45/+29
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Fix redundant parameter to removeColumn in db migration scriptsWu Cheng-Han2017-01-212-3/+3
|
* Fix migration script of revision lacks of definition of primary keyWu Cheng-Han2017-01-021-1/+4
|
* Update to support optional email register and signinWu Cheng-Han2016-12-021-0/+13
|
* Update to support delete noteWu Cheng-Han2016-10-101-0/+11
|
* Add support of saving authors and authorshipWu Cheng-Han2016-07-301-0/+28
|
* Add support of saving note revision and improve app start and stop procedure ↵Cheng-Han, Wu2016-06-171-0/+24
| | | | to ensure data integrity
* Add db migrations for PR #121Cheng-Han, Wu2016-05-151-0/+15