Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
'''Created on 05-Jul-2011@author: Chandranshu'''from elixir.entity import Entityfrom elixir.fields import Fieldfrom sqlalchemy.types import Integer, Stringfrom elixir.options import using_options, using_table_optionsclass Test1(Entity):'''classdocs'''id = Field(Integer, primary_key=True, autoincrement=True)name=Field(String(50))using_options(shortnames=True)using_table_options(mysql_engine="InnoDB")