Skip to content

Instantly share code, notes, and snippets.

@adamwathan
Created May 2, 2014 20:07
Show Gist options
  • Select an option

  • Save adamwathan/459254b8bf210bcaeeca to your computer and use it in GitHub Desktop.

Select an option

Save adamwathan/459254b8bf210bcaeeca to your computer and use it in GitHub Desktop.

Revisions

  1. adamwathan created this gist May 2, 2014.
    13 changes: 13 additions & 0 deletions database.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <?php

    // app/config/testing/database.php
    return [
    'default' => 'sqlite',
    'connections' => [
    'sqlite' => [
    'driver' => 'sqlite',
    'database' => ':memory:',
    'prefix' => '',
    ]
    ]
    ];