Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Database export dsl

Jan Paul Posma edited this page May 15, 2014 · 1 revision

The dsl now is:

load_fact_data do

#commands

end

this is needed because we want to be able to test the DSL and get linenumbers as well.

the db:init:xxx now merges channels with the same name by the same user, and refuses to work if a user is declared without emailadress and password.

We have two truncating commands:

  • db:truncate (truncates everything)
  • db:truncate_keep_users (truncates everything except for the users)

Syntax for the file:

user "name", "emailaddress", "password", "twitterusername"