add IDs to api_keys

This commit is contained in:
Paul Liverman III 2018-04-24 06:36:51 -07:00
parent dd8f108f96
commit 46b9369f3f

View File

@ -1,4 +1,4 @@
import create_table, types, create_index from require "lapis.db.schema"
import create_table, types, create_index, add_column from require "lapis.db.schema"
import make_migrations, autoload from require "locator"
import settings from autoload "utility"
@ -33,4 +33,7 @@ make_migrations {
[1524517479]: =>
settings.set "simplex.key-increment", 0
[1524605427]: =>
add_column "api_keys", "id", types.serial primary_key: true
}