plug_session_mnesia v0.1.2 mix session.drop View Source

Drops the Mnesia table.

To drop the Mnesia table, run this mix task:

$ mix session.drop

If you use to start your IEx development sessions with a node name, you must also run session.drop with the same node name to effictively run the command on the good Mnesia database:

$ elixir --sname "my_node@my_host" -S mix session.drop

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.