def setup_tables(create=True, drop=False):
global frames_table<EOL>frames_table = Table('<STR_LIT>', meta.metadata,<EOL>Column('<STR_LIT>', String(<NUM_LIT:255>), primary_key=True),<EOL>Column('<STR_LIT>', BigInteger,<EOL>primary_key=False, autoincrement=True),<EOL>Column('<STR_LIT>', String(<NUM_LIT:255>), index=True),<EOL>Column('<STR_LIT>', PickleType),<EOL>Column('<STR_LIT>', DateTime, default=func.now()))<EOL>if drop:<EOL><INDENT>meta.metadata.drop_all()<EOL><DEDENT>if drop or create:<EOL><INDENT>meta.metadata.create_all()<EOL><DEDENT>
Binds the model classes to registered metadata and engine and (potentially) 
creates the db tables.

This function expects that you have bound the L{meta.metadata} and L{meta.engine}.

@param create: Whether to create the tables (if they do not exist).
@type create: C{bool}

@param drop: Whether to drop the tables (if they exist).
@type drop: C{bool}