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: 25 trees of each artbot in seed.sql #232

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Conversation

Jaszkowic
Copy link
Collaborator

@Jaszkowic Jaszkowic commented Oct 17, 2023

I added 25 trees of each artbot to seed.sql. Fetched the trees with:

WITH ranked_trees AS (
  SELECT
    *,
    ROW_NUMBER() OVER (PARTITION BY artbot ORDER BY artbot) AS row_num
  FROM trees
)
SELECT "id", "lat", "lng", "artdtsch", "artbot", "gattungdeutsch", "gattung", "strname", "hausnr", "zusatz", "pflanzjahr", "standalter", "kronedurch", "stammumfg", "type", "baumhoehe", "bezirk", "eigentuemer", "adopted", "watered", "radolan_sum", "radolan_days", "geom", "standortnr", "kennzeich", "caretaker", "gmlid"
FROM ranked_trees
WHERE row_num <= 25
ORDER BY artbot;

@Jaszkowic Jaszkowic requested a review from ff6347 as a code owner October 17, 2023 13:47
@vercel
Copy link

vercel bot commented Oct 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
giessdenkiez-de-postgres-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2023 2:32pm

@Jaszkowic
Copy link
Collaborator Author

@Jaszkowic Jaszkowic requested a review from julizet October 17, 2023 13:48
@ff6347 ff6347 added this pull request to the merge queue Oct 23, 2023
@ff6347 ff6347 removed this pull request from the merge queue due to a manual request Oct 23, 2023
@ff6347 ff6347 merged commit ab039b2 into staging Oct 23, 2023
4 checks passed
@ff6347 ff6347 deleted the feat/more-trees-in-seed branch October 23, 2023 08:49
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