Skip to content

Instantly share code, notes, and snippets.

View basti1302's full-sized avatar

Bastian Krol basti1302

View GitHub Profile
@basti1302
basti1302 / Util.Migration.hs
Created October 27, 2016 09:25
Use jtdaugherty/dbmigrations to upgrade the DB at app startup
{-# LANGUAGE ScopedTypeVariables #-}
module Util.Migration (upgradeDatabase) where
import qualified Util.Config as Config
import Control.Monad (forM_)
import Database.Schema.Migrations
import Database.Schema.Migrations.Backend
import Database.Schema.Migrations.Filesystem (FilesystemStoreSettings (..),
@basti1302
basti1302 / 01 readme.markdown
Last active December 10, 2017 22:56
Custom combinator which accesses the Auth Context
@basti1302
basti1302 / keybase.md
Created July 24, 2018 05:20
Verifying myself

Keybase proof

I hereby claim:

  • I am basti1302 on github.
  • I am basti1302 (https://keybase.io/basti1302) on keybase.
  • I have a public key ASBijUw927CXoPXFpcWt9FmaJAA-gHurdMeZf9l23Bj2eAo

To claim this, I am signing this object: