diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-07 00:00:32 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-07 00:00:32 -0500 |
commit | fbb979af779341ed15c0c4d9d08ec52eaebb1037 (patch) | |
tree | 9cf11f1cbc9d1a9ae4fc1579aeb865770ec44d27 /src/guff/database-updater.cr | |
parent | f0f87c439037715cac407004e2220c678d96757a (diff) | |
download | old-guff-fbb979af779341ed15c0c4d9d08ec52eaebb1037.tar.bz2 old-guff-fbb979af779341ed15c0c4d9d08ec52eaebb1037.zip |
add site-model, misc fixes
Diffstat (limited to 'src/guff/database-updater.cr')
-rw-r--r-- | src/guff/database-updater.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guff/database-updater.cr b/src/guff/database-updater.cr index daf77fd..d472c50 100644 --- a/src/guff/database-updater.cr +++ b/src/guff/database-updater.cr @@ -46,6 +46,8 @@ module Guff is_default BOOLEAN NOT NULL DEFAULT false ) }, %{ + INSERT INTO sites(name, is_default) VALUES ('Default', 1) + }, %{ CREATE TABLE posts ( -- unique id post_id INTEGER PRIMARY KEY, |