lazuscripts-utility/migrations.moon
Paul Liverman III c615ea4b1f re-initialized
tl;dr: rewriting history of this repo because I have accidentally
included the history of OTHER repos in it due to either a bug with
git subtree or a misunderstanding of how it functions on my part
2018-03-04 11:41:07 -08: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
}