prepare post history
This commit is contained in:
@ -62,5 +62,10 @@ return {
|
||||
[8] = function ()
|
||||
schema.add_column("topics", "sort_order", types.integer{default = 0})
|
||||
db.query("UPDATE topics SET sort_order = (SELECT COUNT(*) FROM topics t2 WHERE t2.ROWID <= topics.ROWID)")
|
||||
end
|
||||
end,
|
||||
|
||||
[9] = function ()
|
||||
schema.add_column("post_history", "original_markup", types.text{null = false})
|
||||
schema.add_column("post_history", "markup_language", types.text{default = "babycode"})
|
||||
end,
|
||||
}
|
||||
|
Reference in New Issue
Block a user