<s> from django . db . backends . creation import BaseDatabaseCreation <EOL> class DatabaseCreation ( BaseDatabaseCreation ) : <EOL> data_types = { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT:bool>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT:date>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT:bool>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT:time>' , <EOL> } <EOL> def sql_table_creation_suffix ( self ) : <EOL> suffix = [ ] <EOL> if self . connection . settings_dict [ '<STR_LIT>' ] : <EOL> suffix . append ( '<STR_LIT>' % self . connection . settings_dict [ '<STR_LIT>' ] ) <EOL> if self . connection . settings_dict [ '<STR_LIT>' ] : <EOL> suffix . append ( '<STR_LIT>' % self . connection . settings_dict [ '<STR_LIT>' ] ) <EOL> return '<STR_LIT:U+0020>' . join ( suffix ) <EOL> def sql_for_inline_foreign_key_references ( self , field , known_models , style ) : <EOL> "<STR_LIT>" <EOL> return [ ] , True <EOL> def sql_for_inline_many_to_many_references ( self , model , field , style ) : <EOL> from django . db import models <EOL> opts = model . _meta <EOL> qn = self . connection . ops . quote_name <EOL> table_output = [ <EOL> '<STR_LIT>' % <EOL> ( style . SQL_FIELD ( qn ( field . m2m_column_name ( ) ) ) , <EOL> style . SQL_COLTYPE ( models . ForeignKey ( model ) . db_type ( connection = self . connection ) ) , <EOL> style . SQL_KEYWORD ( '<STR_LIT>' ) ) , <EOL> '<STR_LIT>' % <EOL> ( style . SQL_FIELD ( qn ( field . m2m_reverse_name ( ) ) ) , <EOL> style . SQL_COLTYPE ( models . ForeignKey ( field . rel . to ) . db_type ( connection = self . connection ) ) , <EOL> style . SQL_KEYWORD ( '<STR_LIT>' ) ) <EOL> ] <EOL> deferred = [ <EOL> ( field . m2m_db_table ( ) , field . m2m_column_name ( ) , opts . db_table , <EOL> opts . pk . column ) , <EOL> ( field . m2m_db_table ( ) , field . m2m_reverse_name ( ) , <EOL> field . rel . to . _meta . db_table , field . rel . to . _meta . pk . column ) <EOL> ] <EOL> return table_output , deferred </s>
