Git Product home page Git Product logo

model's Introduction

Thelia 2 MySQL Workbench database model

The thelia2_model.mwb file contains the complete Thelia 2 database model.

If you want to generate the Propel schema.xml file, please install MySQL Workbench PropelUtility plugin from the PropelUtility folder, which contains a fixed version of PropelUtility. You can then use the Export tab to generate the schema.xml file.

Please note that you have to add the following lines in the generated file, just after the <database defaultIdMethod="native" name="thelia"> line :

  <vendor type="mysql">
    <parameter name="Engine" value="InnoDB"/>
    <parameter name="Charset" value="utf8"/>
  </vendor>

From this schema.xml file, Thelia will generate the database schema SQL initialization files, and the Propel ORM classes and tools

Initializing database and classes

Be sure that your already have a configured database, if not, run:

$ php Thelia thelia:install

If the database access is configured, your can use the reset_install script that will do all the work for you, and generate data using the Thelia faker.

If you're using Linux or Mac OS:

$ ./reset_install.sh

If you're using Windows:

C:\path-to-thelia> reset_install.bat

Please note thant all your database content will be erased and replaced with test fake data.

model's People

Contributors

badsuricate avatar bibich avatar bilhackmac avatar etienneroudeix avatar gillesbourgeat avatar lovenunu avatar lunika avatar roadster31 avatar touffies avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

model's Issues

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.