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

add LiveProducts to Pento #1

Merged
merged 2 commits into from
Feb 10, 2024
Merged

add LiveProducts to Pento #1

merged 2 commits into from
Feb 10, 2024

Conversation

Tinix
Copy link
Owner

@Tinix Tinix commented Feb 10, 2024

Run the generator again, this time filling in the blanks for the context,
resource, and fields.
We’ll construct the generator command such that it will generate a Catalog
context with a schema for Product, corresponding to a products database table.
A product will have name, description, unit_price, and SKU fields, like this:
[pento] ➔ mix phx.gen.live Catalog Product products name:string
description:string unit_price:float sku:integer:unique

@Tinix Tinix merged commit a3a015d into main Feb 10, 2024
1 check failed
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.

1 participant