reorganized shift templates files
This commit is contained in:
parent
243ebd8aa2
commit
e0f8515566
13 changed files with 80 additions and 49 deletions
priv/repo
|
@ -1,4 +1,4 @@
|
|||
defmodule Shift73k.Repo.Migrations.CreateShiftTemplates do
|
||||
defmodule Shift73k.Repo.Migrations.CreateShifts.Templates do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
|
|
|
@ -77,7 +77,7 @@ Repo.insert_all(User, mock_users)
|
|||
|
||||
#####
|
||||
# shift tepmlates
|
||||
alias Shift73k.ShiftTemplates.ShiftTemplate
|
||||
alias Shift73k.Shifts.Templates.ShiftTemplate
|
||||
|
||||
shifts_json = Path.join(this_path, "MOCK_DATA_shift-templates.json")
|
||||
mock_shifts = shifts_json |> File.read!() |> Jason.decode!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue