fixing a botched migration
This commit is contained in:
parent
f53c6c55a8
commit
4d83c01796
1
app.moon
1
app.moon
@ -32,5 +32,6 @@ class Simplex extends Application
|
|||||||
return json: { success: true, :key }
|
return json: { success: true, :key }
|
||||||
|
|
||||||
[console: "/console"]: =>
|
[console: "/console"]: =>
|
||||||
|
if @user and @user.admin
|
||||||
console = require "lapis.console"
|
console = require "lapis.console"
|
||||||
return console.make(env: "all")(@)
|
return console.make(env: "all")(@)
|
||||||
|
@ -27,6 +27,10 @@ make_migrations {
|
|||||||
create_index "tasks", "user_id"
|
create_index "tasks", "user_id"
|
||||||
create_index "tasks", "user_id", "done"
|
create_index "tasks", "user_id", "done"
|
||||||
|
|
||||||
|
-- botched migration
|
||||||
[1524517478]: =>
|
[1524517478]: =>
|
||||||
settings["simplex.key-increment"] = 0
|
settings["simplex.key-increment"] = 0
|
||||||
|
|
||||||
|
[1524517479]: =>
|
||||||
|
settings.set "simplex.key-increment", 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user