Table descriptions

Plant_detail

Column nameExampleInitial ruleDescription
id1
binomial_nameAbelia triflora
common_nameNULL
common_name_deNULL
familyCaprifoliaceae
subfamilyNULL
genusAbelia
edible_usesNULL
medicinal_usesNULL
material_uses_and_functions[1][2]
botanic[3][6]
propagationNULL
cultivationNULL
environmentNULL
material_usesNULL
functionsNULL
provides_forage_forNULL
provides_shelter_forNULL
hardiness_zone6
heat_zoneNULL
watermoderate
sunfull sun
shadelight shade
soil_ph{neutral,alkaline,very alkaline}
soil_texture{sandy,loamy}
soil_water_retentionNULL
environmental_tolerancesNULL
native_climate_zonesNULL
adapted_climate_zonesNULL
native_geographical_rangeNULL
native_environmentNULL
ecosystem_nicheNULL
root_zone_tendancyNULL
deciduous_or_evergreendeciduous
herbaceous_or_woodywoody
life_cycle{perennial}
growth_rateslow
mature_size_height3.5
mature_size_width3
fertilityNULL
pollinatorsNULL
flower_colourNULL
flower_typehermaphrodite
created_at2023-02-09 14:06:01.451028
updated_at2023-02-09 14:06:01.451028
has_drought_tolerancefalse
tolerates_windfalse
plant_references{ref1, ref2)}
is_treetrueSet of Herbaceous/Woody (woody) AND life cycle (perennial)
nutrition_demandNULLIf "Nutritionally poor soil" in environmental_tolerances is given light feeder should be set.
preferable_permaculture_zoneNULL-1..6 (-1 should be printed as 00)

Relations

Store relations between plants.

Column nameExampleDescription
plant11id of first plant
plant22id of second plant
relationneutraltype of relation
notewhy put two cherries together anywayssome comment about the relation

Maps

Column nameExampleDescription
id1
created_by1
nameMy Maponly alphanumerical values
is_inactivefalse
last_visit2023-04-04
honors00 to infinity
visits00 to infinity
harvested00 to infinity, amount of plants harvested on this map
version_date2023-04-04the date the snapshot for this version was taken
created_at2023-04-04
deletion_date2023-04-04
inactivity_date2023-04-04
zoom_factor100value used in formula "X by X cm", e.g. 100 would mean "100 x 100 cm", range from 10 to 100000
geo_dataNULLPostGis Geodata, location of the map

Layers

Column nameExampleDescription
id1
map_id1the id of the map
type{base, plants, etc.}the type of layer
nameBase Layerthe display name of the layer
is_alternativefalsetrue if the layer is an user-created alternative layer

Plantings

Column nameExampleDescription
id1
layer_id1the id of the layer
plant_id1the plant that is planted
x1the x coordinate of the position on the map.
y1the y coordinate of the position on the map.
width1the width of the plant on the map.
height1the height of the plant on the map.
rotation0the rotation of the plant on the map.
scale_x1the x scale of the plant on the map.
scale_y1the y scale of the plant on the map.

Users

Column nameExampleDescription
id00000000-0000-0000-0000-000000000000the UUID from Keycloak
salutationMrthe preferred salutation of the user
titleNULLthe title of the user
countryAustriathe country of the user
phoneNULLthe phone number of the user
websiteNULLthe website of the user
organizationNULLthe organization of the user
experiencebeginnerthe experience level of the user
membershipRegular Membershipthe membership type of the user
member_years{2023}array of years
member_since2023-07-12since when the user is a member
permacoins{0}array of positive integers

Guided Tours

Column nameExampleDescription
user00000000-0000-0000-0000-000000000000the id of the user
editor_tourfalseflag for the Map Editor Tour

Blossoms

Column nameExampleDescription
titleNovice Gardener
descriptionPlant your first plant
trackBeginners Trackthe track (category) this blossom belongs to
iconNULL
is_seasonalfalseresets and repeats every year

Blossoms Gained

Column nameExampleDescription
id1
user_id1
blossom_id1
times_gained10 to infinity
gained_date{2023-04-10}one entry for every time gained

IngredientLists

Column nameExampleDescription
id1list id
created_by1user id
map_id1id of the map this list is for
nameSmoothie Ingredientsname of the list
descriptionIngredients for my strawberry smoothiedescription of the list
imageNULLan image for further customizing the list
is_recurringtruea flag representing whether the objectives repeat themselves or not
end_date2023-04-15an optional date at which point the owner wants the objectives to be fulfilled
accomplished0the number of times the list was fulfilled; only relevant for recurring lists

Ingredients

Many-to-many table to store relations between plants and ingredient lists.

Column nameExampleDescription
list_id1id of the ingredient list
plant_id1id of the plant used as an ingredient
is_fulfilledtrueif enough of this ingredient can be harvested

Events

Column nameExampleDescription
id1event id
map_id1id of the map the event is taking place on
system_eventtruea flag representing whether this event is system or user generated
nameHarvest strawberriesname of the event
descriptionNULLdescription of the event details
event_date2023-04-15the date the event is taking place on

Favorites

Many-to-many table to store map-specific favourites.

Column nameExampleDescription
map_id1id of the map
plant_id1id of the plant

Relation

Many-to-many table to store relations between plants, genus, subfamily and family.

Column nameExampleDescription
id1relation id
from_id1id of the left side of the relation(id of plant, genus, subfamily or family)
from_typegenustype can be plant, genus, subfamily or family
to_id1id of the right side of the relation(id of plant, genus, subfamily or family)
to_typefamilytype can be plant, genus, subfamily or family
relation_typecompaniontype of the relation can be companion, antagonist, neutral
relation_strength2strength of the relation, can be 0 to 3
created_at2023-02-09 14:06:01.451028creation timestamp
updated_at2023-02-09 14:06:01.451028update timestamp