Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add seed with Admin, User, Customer, Organization and Ticket #56

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

esdrasedu
Copy link
Contributor

@zachdaniel these seeds only include User, Customer, Organization and Ticket.
I couldn't add Comment because it is polymorphic, I am investigaring it.

Please let me know if it is possible improve it any way, thanks

})
end

def arguments("--truncate") do
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this hooked up? I don't see what calls it. If we were to use Ash actions we could actually support upsert?: true which could potentially prevent the need to truncate at all. We could also add Ash.Seed.upsert

Copy link
Contributor

@zachdaniel zachdaniel left a comment

Choose a reason for hiding this comment

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

LGTM

@zachdaniel zachdaniel merged commit d51eb82 into ash-project:main Jul 28, 2023
12 checks passed
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