Jump to content


Photo

readbeanphp and schema

database

  • Please log in to reply
3 replies to this topic

#1 justflyingby

justflyingby

    Newbie

  • New Members
  • Pip
  • 8 posts

Posted 19 December 2011 - 07:01 PM

Any explanation why there is no localized schema file for relations?

#2 Jason

Jason

    Administrator

  • Administrators
  • 864 posts
  • LocationChicago

Posted 19 December 2011 - 08:03 PM

With RedBeanPHP you don't need a schema file. Zurmo will automatically build and update the database schema as needed based on the metadata definitions in the various models.

Jason Green
Zurmo Team
Need support? Upgrade now


#3 justflyingby

justflyingby

    Newbie

  • New Members
  • Pip
  • 8 posts

Posted 19 December 2011 - 08:27 PM

Can you explain about metadata? And how can I see the whole picture if this are defined in code among lots of files?

#4 Jason

Jason

    Administrator

  • Administrators
  • 864 posts
  • LocationChicago

Posted 20 December 2011 - 04:52 AM

The best place to start is by looking at the RedBeanModelTest in zurmoinc/framework/tests/unit. You can see a variety of different tests that will help you understand how the metadata works. I also will be adding a wiki entry or tutorial shortly on the metadata.

Jason Green
Zurmo Team
Need support? Upgrade now






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users