diff options
Diffstat (limited to 'src/post/sql.go')
-rw-r--r-- | src/post/sql.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/post/sql.go b/src/post/sql.go index 786ea63..c7b726f 100644 --- a/src/post/sql.go +++ b/src/post/sql.go @@ -66,6 +66,13 @@ var migrations = &migrate.MemoryMigrationSource{Migrations: []*migrate.Migration `ALTER TABLE posts DROP COLUMN description_old`, }, }, + { + Id: "4", + Up: []string{ + `ALTER TABLE post_drafts ADD COLUMN format TEXT DEFAULT 'md'`, + `ALTER TABLE posts ADD COLUMN format TEXT DEFAULT 'md'`, + }, + }, }} // SQLDB is a sqlite3 database which can be used by storage interfaces within |