Created
July 11, 2013 17:21
-
-
Save jschoch/5977385 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Amnesia | |
require Exquisite | |
defdatabase IndexTest do | |
deftable Unf | |
end | |
defmodule DBA do | |
def install do | |
Amnesia.Schema.create | |
Amnesia.start | |
use IndexTest | |
IndexTest.create(disk: [node]) | |
IndexTest.wait | |
end | |
def uninstall do | |
Amnesia.start | |
IndexTest.destroy | |
Amnesia.stop | |
Amnesia.Schema.destroy | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment