Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

RoyalIcing
Copy link

Contributor checklist

  • Documentation
  • Bug fixes include regression tests
  • Features include unit/acceptance tests

@RoyalIcing RoyalIcing changed the title Doc multitenancy Docs: multitenancy code example May 30, 2025
@@ -1,28 +1,29 @@
<!--
This file was generated by Spark. Do not edit it by hand.
-->

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes to this file seem strange. This file is generated. Did you maybe run a formatter on it by accident?

@@ -1,5 +1,21 @@
# Schema Based Multitenancy

```elixir
defmodule MyApp.Project do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
defmodule MyApp.Project do
defmodule MyApp.Projects.Project do

...

relationships do
belongs_to :organization, MyApp.Organization
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
belongs_to :organization, MyApp.Organization
belongs_to :organization, MyApp.Accounts.Organization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants