Packages

Plsm generates Ecto models based on existing database tables and populates the fields of the model.

Current section

Files

Jump to
plsm lib common structs.ex
Raw

lib/common/structs.ex

defmodule Plsm.Configs do
defstruct database: Plsm.Configs.Database, project: Plsm.Configs.Project
end
defmodule Plsm.Configs.Database do
defstruct server: "", port: "", database_name: "", username: "", password: "", type: :mysql
end
defmodule Plsm.Configs.Project do
defstruct name: "", destination: ""
end