GithubHelp home page GithubHelp logo

er-modelling's Introduction

ER-modelling

This is going to be a collection of ER-model examples. The focus will be on simplicity and completeness.

Some of the models will be done in English and some in Slovene.

Project files

  • README.md

    Project report with the image of the model and the explanation of the tables and attributes.

  • inserts.sql

    Sql INSERT statements that fill the tables with sample test data. You can always generate the model from mysql-model.mwb file via Forward Engineering.

  • queries.sql

    Some of the non-trivial queries that help you extract information from the model.

  • mysql-model.mwb

    The MySQL WorkBench model file.

  • mysql-model.svg

    The image of the model.

Naming conventions

Entity and table names shall be written in PascalCase, attribute and column names shall be written in snake_case

er-modelling's People

Contributors

glusk avatar

Watchers

 avatar

er-modelling's Issues

Uredi atribute izdelka

Odstrani zalogo; povej da je treba podatek pridobiti iz WMS-ja.

Kategorijo lahko pustiš kot opombo, ker bi za to potreboval še najmanj eno dodatno tabelo (Katergorije), kar bi
po nepotrebnem zakompliciralo model.

V spletni trgovini manjka predračun

Model v obstoječi obliki dopušča samo plačilo po povzetju.

Glede na to da je predračun stalna praksa spletnih trgovin, bi bilo smiselno dodati entiteto Predracun.

Mail gosta

Če želimo omogočiti možnost nakupovanja "gostom" (neregistriranim uporabnikom), potem je potrebno shraniti kontaktni e-mail (za pošiljanje predračunov in računov).

Ena možnost je, da obesimo atribut kontaktni_mail na Narocilo.

Drugo možnost je, da za vsakega gosta ustvarimo novega uporabnika z avtomatsko generiranim uporabniškim imenom in vnešenim mailom. Druge atribute pustimo prazne.

Majhni popravki

Tabeli Racun dodaj rok_placila

Tabeli CenikIzdelkov dodaj popust.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.