Closed amutake closed 10 years ago
% ./andon backup
% cp backup/2014-08-06.sql db/backup.sql
% ./andon stop
% cd db
% e backup.sql
...
TOP VARCHAR,
INTRO VARCHAR DEFAULT '' NOT NULL
)
...
% rm default.h2.db
% ./restore.sh backup
% rm backup.sql
% ./backup.sh
% e backup.sql
...
INTRO VARCHAR NOT NULL
...
% rm default.h2.db
% ./restore.sh backup
% rm backup.sql
% cd ../
% git pull origin master
% ./andon start
edit backup.sql
edit backup.sql