# `Beancount.Schemas.Plugin`
[🔗](https://github.com/thanos/beancount_ex/blob/v0.6.0/lib/beancount/schemas/directives.ex#L473)

Persisted `plugin` directive (table `beancount_plugins`).

Storage-layer counterpart of `Beancount.Directives.Plugin`. This directive
has no date.

## Fields

  * `module` - plugin module string, e.g. `"beancount.plugins.auto"`.
  * `config` - optional configuration string, or `nil`.
  * `file_order` - zero-based position of the directive in the source.

## Example

    %Beancount.Schemas.Plugin{
      module: "beancount.plugins.auto_accounts",
      config: nil,
      file_order: 1
    }

# `t`

```elixir
@type t() :: %Beancount.Schemas.Plugin{
  __meta__: term(),
  config: term(),
  file_order: term(),
  id: term(),
  inserted_at: term(),
  module: term(),
  updated_at: term()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
