This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an example only. I no longer use it and hope to update it eventually. | |
# If you are starting from scratch you should be using the users table not the teachers view | |
# for creating a PK for your staff. If you don't, teachers who teach at multiple schools will | |
# not work correctly. My fix was to just keep using the schoolstaff id's (that is what the | |
# teacher view uses) but make sure it is always the users homeschool's sschoolstaff id. It'd be | |
# cleaner to have just used the users table to begin with though. I have a much better understanding | |
# of mysql and ps tables then I was when I first wrote this. | |
<queries> | |
<query name="org.yourschool.clever.schools.all" coreTable="SCHOOLS" flattened="true"> |