View Source Datapio.Cluster.Mnesia (Datapio OpenCore v0.1.0)
Mnesia (ram copies only) initialization functions.
To automatically create tables on startup, add this to your
config/config.exs
:
config :datapio_cluster,
cache_tables: [
my_table: [:attr1, :attr2]
]
Link to this section Summary
Link to this section Functions
Specs
Create an Mnesia table.
Specs
init_from_config() :: :ok | {:error, term()}
Create tables defined in application configuration.