simplex2/migrations.moon
Paul Liverman III 311e43ecc1 Squashed 'utility/' content from commit 3616fc8
git-subtree-dir: utility
git-subtree-split: 3616fc80e5a6f6a0739d931118b7f5f3b0efa28e
2018-03-13 02:10:39 -07:00

14 lines
351 B
Plaintext

import create_table, types, create_index from require "lapis.db.schema"
{
[1518948992]: =>
create_table "settings", {
{"name", types.varchar primary_key: true, unique: true}
{"value", types.text null: true}
{"created_at", types.time}
{"updated_at", types.time}
}
create_index "settings", "name", unique: true
}