<s> from __future__ import unicode_literals <EOL> from django . db import models , migrations <EOL> from django . db . migrations . operations . special import RunPython <EOL> import djorm_pgfulltext . fields <EOL> from django . db import connection <EOL> import os <EOL> def load_initial_sql ( * args , ** kw ) : <EOL> fn = os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT>' ) <EOL> data = open ( fn , '<STR_LIT:rb>' ) . read ( ) <EOL> connection . cursor ( ) . execute ( data ) <EOL> class Migration ( migrations . Migration ) : <EOL> dependencies = [ <EOL> ] <EOL> operations = [ <EOL> RunPython ( load_initial_sql ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( max_length = <NUM_LIT:32> ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ] , <EOL> options = { <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( max_length = <NUM_LIT:32> ) ) , <EOL> ( '<STR_LIT:description>' , models . TextField ( ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ] , <EOL> options = { <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . AddField ( <EOL> model_name = '<STR_LIT>' , <EOL> name = '<STR_LIT>' , <EOL> field = models . ForeignKey ( to = '<STR_LIT>' ) , <EOL> preserve_default = True , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( max_length = <NUM_LIT:32> ) ) , <EOL> ( '<STR_LIT:description>' , models . TextField ( ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ] , <EOL> options = { <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( max_length = <NUM_LIT:32> ) ) , <EOL> ( '<STR_LIT:description>' , models . TextField ( ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ] , <EOL> options = { <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( max_length = <NUM_LIT:32> ) ) , <EOL> ( '<STR_LIT:description>' , models . TextField ( ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ] , <EOL> options = { <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( max_length = <NUM_LIT:32> ) ) , <EOL> ( '<STR_LIT:description>' , models . TextField ( ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ( '<STR_LIT>' , djorm_pgfulltext . fields . VectorField ( default = b'<STR_LIT>' , serialize = False , null = True , editable = False , db_index = True ) ) , <EOL> ] , <EOL> options = { <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> ] </s>
