Skip to content

Commit

Permalink
feat:doc: group all Ecto models documentation
Browse files Browse the repository at this point in the history
should make it easier to find our database related code, and easier to navigate in the documentation
  • Loading branch information
firestack committed Sep 23, 2024
1 parent 9a0a273 commit 13cbc8f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/notifications/db/block_waiver.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Notifications.Db.BlockWaiver do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `block_waivers` Database table
"""
Expand Down
1 change: 1 addition & 0 deletions lib/notifications/db/bridge_movement.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Notifications.Db.BridgeMovement do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `bridge_movements` Database table
"""
Expand Down
1 change: 1 addition & 0 deletions lib/notifications/db/notification.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Notifications.Db.Notification do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `notifications` Database table
"""
Expand Down
1 change: 1 addition & 0 deletions lib/notifications/db/notification_user.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Notifications.Db.NotificationUser do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `notification_users` Database table
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/skate/detours/db/detour.ex
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
defmodule Skate.Detours.Db.Detour do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `detours` Database table
"""


use Skate.Schema
import Ecto.Changeset

Expand Down
1 change: 1 addition & 0 deletions lib/skate/settings/db/route_tab.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Skate.Settings.Db.RouteTab do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `route_tabs` Database table
"""
Expand Down
1 change: 1 addition & 0 deletions lib/skate/settings/db/test_group.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Skate.Settings.Db.TestGroup do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `test_groups` Database table
"""
Expand Down
1 change: 1 addition & 0 deletions lib/skate/settings/db/test_group_user.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Skate.Settings.Db.TestGroupUser do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `test_groups_users` Database table
"""
Expand Down
1 change: 1 addition & 0 deletions lib/skate/settings/db/user.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Skate.Settings.Db.User do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `users` Database table
"""
Expand Down
1 change: 1 addition & 0 deletions lib/skate/settings/db/user_settings.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Skate.Settings.Db.UserSettings do
@moduledoc section: :ecto
@moduledoc """
Ecto Model for `user_settings` Database table
"""
Expand Down

0 comments on commit 13cbc8f

Please sign in to comment.