Using Schema Generator

In order to use Schema Generator, you have to create a new page which will inherit Page_SchemaGenerator

class page_sg extends Page_SchemaGenerator {
}

Further, just open up /sg.html and follow instructions in order to generate sql schema for any of your models. Models directory will be automatically scanned for all classes there and you will be provided with list of your models