# gestion.migrations package

## Submodules

## gestion.migrations.0001_initial module

class `gestion.migrations.0001_initial.``Migration`(name, app_label)

  Bases : `django.db.migrations.migration.Migration`

  `dependencies` = [('preferences', '0001_initial'), ('auth', '__first__')]
  `initial` = True
  `operations` = [<CreateModel name='Consumption', fields=[('id', <django.db.models.fields.AutoField>), ('quantity', <django.db.models.fields.PositiveIntegerField>), ('customer', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'Consommation totale'}>, <CreateModel name='ConsumptionHistory', fields=[('id', <django.db.models.fields.AutoField>), ('quantity', <django.db.models.fields.PositiveIntegerField>), ('date', <django.db.models.fields.DateTimeField>), ('amount', <django.db.models.fields.DecimalField>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>), ('paymentMethod', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'Consommation'}>, <CreateModel name='HistoricalConsumption', fields=[('id', <django.db.models.fields.IntegerField>), ('quantity', <django.db.models.fields.PositiveIntegerField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('customer', <django.db.models.fields.related.ForeignKey>), ('history_user', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical Consommation totale', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalConsumptionHistory', fields=[('id', <django.db.models.fields.IntegerField>), ('quantity', <django.db.models.fields.PositiveIntegerField>), ('date', <django.db.models.fields.DateTimeField>), ('amount', <django.db.models.fields.DecimalField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>), ('history_user', <django.db.models.fields.related.ForeignKey>), ('paymentMethod', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical Consommation', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalKeg', fields=[('id', <django.db.models.fields.IntegerField>), ('name', <django.db.models.fields.CharField>), ('stockHold', <django.db.models.fields.IntegerField>), ('barcode', <django.db.models.fields.CharField>), ('amount', <django.db.models.fields.DecimalField>), ('capacity', <django.db.models.fields.IntegerField>), ('is_active', <django.db.models.fields.BooleanField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>)], options={'verbose_name': 'historical Fût', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalKegHistory', fields=[('id', <django.db.models.fields.IntegerField>), ('openingDate', <django.db.models.fields.DateTimeField>), ('quantitySold', <django.db.models.fields.DecimalField>), ('amountSold', <django.db.models.fields.DecimalField>), ('closingDate', <django.db.models.fields.DateTimeField>), ('isCurrentKegHistory', <django.db.models.fields.BooleanField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('history_user', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical Historique de fût', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalMenu', fields=[('id', <django.db.models.fields.IntegerField>), ('name', <django.db.models.fields.CharField>), ('amount', <django.db.models.fields.DecimalField>), ('barcode', <django.db.models.fields.CharField>), ('is_active', <django.db.models.fields.BooleanField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('history_user', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical menu', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalMenuHistory', fields=[('id', <django.db.models.fields.IntegerField>), ('quantity', <django.db.models.fields.PositiveIntegerField>), ('date', <django.db.models.fields.DateTimeField>), ('amount', <django.db.models.fields.DecimalField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>), ('history_user', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical Historique de menu', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalProduct', fields=[('id', <django.db.models.fields.IntegerField>), ('name', <django.db.models.fields.CharField>), ('amount', <django.db.models.fields.DecimalField>), ('stockHold', <django.db.models.fields.IntegerField>), ('stockBar', <django.db.models.fields.IntegerField>), ('barcode', <django.db.models.fields.CharField>), ('category', <django.db.models.fields.CharField>), ('needQuantityButton', <django.db.models.fields.BooleanField>), ('is_active', <django.db.models.fields.BooleanField>), ('volume', <django.db.models.fields.PositiveIntegerField>), ('deg', <django.db.models.fields.DecimalField>), ('adherentRequired', <django.db.models.fields.BooleanField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('history_user', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical Produit', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalRefund', fields=[('id', <django.db.models.fields.IntegerField>), ('date', <django.db.models.fields.DateTimeField>), ('amount', <django.db.models.fields.DecimalField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>), ('history_user', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical Remboursement', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='HistoricalReload', fields=[('id', <django.db.models.fields.IntegerField>), ('amount', <django.db.models.fields.DecimalField>), ('date', <django.db.models.fields.DateTimeField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('PaymentMethod', <django.db.models.fields.related.ForeignKey>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>), ('history_user', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical Rechargement', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>, <CreateModel name='Keg', fields=[('id', <django.db.models.fields.AutoField>), ('name', <django.db.models.fields.CharField>), ('stockHold', <django.db.models.fields.IntegerField>), ('barcode', <django.db.models.fields.CharField>), ('amount', <django.db.models.fields.DecimalField>), ('capacity', <django.db.models.fields.IntegerField>), ('is_active', <django.db.models.fields.BooleanField>)], options={'verbose_name': 'Fût', 'permissions': (('open_keg', 'Peut percuter les fûts'), ('close_keg', 'Peut fermer les fûts'))}>, <CreateModel name='KegHistory', fields=[('id', <django.db.models.fields.AutoField>), ('openingDate', <django.db.models.fields.DateTimeField>), ('quantitySold', <django.db.models.fields.DecimalField>), ('amountSold', <django.db.models.fields.DecimalField>), ('closingDate', <django.db.models.fields.DateTimeField>), ('isCurrentKegHistory', <django.db.models.fields.BooleanField>), ('keg', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'Historique de fût'}>, <CreateModel name='Menu', fields=[('id', <django.db.models.fields.AutoField>), ('name', <django.db.models.fields.CharField>), ('amount', <django.db.models.fields.DecimalField>), ('barcode', <django.db.models.fields.CharField>), ('is_active', <django.db.models.fields.BooleanField>)]>, <CreateModel name='MenuHistory', fields=[('id', <django.db.models.fields.AutoField>), ('quantity', <django.db.models.fields.PositiveIntegerField>), ('date', <django.db.models.fields.DateTimeField>), ('amount', <django.db.models.fields.DecimalField>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>), ('menu', <django.db.models.fields.related.ForeignKey>), ('paymentMethod', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'Historique de menu'}>, <CreateModel name='Product', fields=[('id', <django.db.models.fields.AutoField>), ('name', <django.db.models.fields.CharField>), ('amount', <django.db.models.fields.DecimalField>), ('stockHold', <django.db.models.fields.IntegerField>), ('stockBar', <django.db.models.fields.IntegerField>), ('barcode', <django.db.models.fields.CharField>), ('category', <django.db.models.fields.CharField>), ('needQuantityButton', <django.db.models.fields.BooleanField>), ('is_active', <django.db.models.fields.BooleanField>), ('volume', <django.db.models.fields.PositiveIntegerField>), ('deg', <django.db.models.fields.DecimalField>), ('adherentRequired', <django.db.models.fields.BooleanField>)], options={'verbose_name': 'Produit'}>, <CreateModel name='Refund', fields=[('id', <django.db.models.fields.AutoField>), ('date', <django.db.models.fields.DateTimeField>), ('amount', <django.db.models.fields.DecimalField>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'Remboursement'}>, <CreateModel name='Reload', fields=[('id', <django.db.models.fields.AutoField>), ('amount', <django.db.models.fields.DecimalField>), ('date', <django.db.models.fields.DateTimeField>), ('PaymentMethod', <django.db.models.fields.related.ForeignKey>), ('coopeman', <django.db.models.fields.related.ForeignKey>), ('customer', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'Rechargement'}>, <AddField model_name='menu', name='articles', field=<django.db.models.fields.related.ManyToManyField>>, <AddField model_name='keg', name='demi', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='keg', name='galopin', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='keg', name='pinte', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalmenuhistory', name='menu', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalmenuhistory', name='paymentMethod', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalkeghistory', name='keg', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalkeg', name='demi', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalkeg', name='galopin', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalkeg', name='history_user', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalkeg', name='pinte', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalconsumptionhistory', name='product', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='historicalconsumption', name='product', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='consumptionhistory', name='product', field=<django.db.models.fields.related.ForeignKey>>, <AddField model_name='consumption', name='product', field=<django.db.models.fields.related.ForeignKey>>]

## gestion.migrations.0002_pinte module

class `gestion.migrations.0002_pinte.``Migration`(name, app_label)

  Bases : `django.db.migrations.migration.Migration`

  `dependencies` = [('auth', '__first__'), ('gestion', '0001_initial')]
  `operations` = [<CreateModel name='Pinte', fields=[('id', <django.db.models.fields.AutoField>), ('last_update_date', <django.db.models.fields.DateTimeField>), ('current_owner', <django.db.models.fields.related.ForeignKey>), ('previous_owner', <django.db.models.fields.related.ForeignKey>)]>]

## gestion.migrations.0003_historicalpinte module

class `gestion.migrations.0003_historicalpinte.``Migration`(name, app_label)

  Bases : `django.db.migrations.migration.Migration`

  `dependencies` = [('auth', '__first__'), ('gestion', '0002_pinte')]
  `operations` = [<CreateModel name='HistoricalPinte', fields=[('id', <django.db.models.fields.IntegerField>), ('last_update_date', <django.db.models.fields.DateTimeField>), ('history_id', <django.db.models.fields.AutoField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_type', <django.db.models.fields.CharField>), ('current_owner', <django.db.models.fields.related.ForeignKey>), ('history_user', <django.db.models.fields.related.ForeignKey>), ('previous_owner', <django.db.models.fields.related.ForeignKey>)], options={'verbose_name': 'historical pinte', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date'}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>)>]

## gestion.migrations.0004_auto_20181223_1830 module

class `gestion.migrations.0004_auto_20181223_1830.``Migration`(name, app_label)

  Bases : `django.db.migrations.migration.Migration`

  `dependencies` = [('gestion', '0003_historicalpinte')]
  `operations` = [<AlterField model_name='pinte', name='current_owner', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='pinte', name='previous_owner', field=<django.db.models.fields.related.ForeignKey>>]

## gestion.migrations.0005_auto_20190106_0018 module

class `gestion.migrations.0005_auto_20190106_0018.``Migration`(name, app_label)

  Bases : `django.db.migrations.migration.Migration`

  `dependencies` = [('gestion', '0004_auto_20181223_1830')]
  `operations` = [<AddField model_name='historicalproduct', name='showingMultiplier', field=<django.db.models.fields.PositiveIntegerField>>, <AddField model_name='product', name='showingMultiplier', field=<django.db.models.fields.PositiveIntegerField>>]

## gestion.migrations.0006_auto_20190227_0859 module

class `gestion.migrations.0006_auto_20190227_0859.``Migration`(name, app_label)

  Bases : `django.db.migrations.migration.Migration`

  `dependencies` = [('gestion', '0005_auto_20190106_0018')]
  `operations` = [<AlterField model_name='consumption', name='customer', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='consumption', name='product', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='consumption', name='quantity', field=<django.db.models.fields.PositiveIntegerField>>, <AlterField model_name='consumptionhistory', name='amount', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='consumptionhistory', name='customer', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='consumptionhistory', name='paymentMethod', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='consumptionhistory', name='product', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='consumptionhistory', name='quantity', field=<django.db.models.fields.PositiveIntegerField>>, <AlterField model_name='historicalconsumption', name='quantity', field=<django.db.models.fields.PositiveIntegerField>>, <AlterField model_name='historicalconsumptionhistory', name='amount', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='historicalconsumptionhistory', name='quantity', field=<django.db.models.fields.PositiveIntegerField>>, <AlterField model_name='historicalkeghistory', name='amountSold', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='historicalkeghistory', name='closingDate', field=<django.db.models.fields.DateTimeField>>, <AlterField model_name='historicalkeghistory', name='isCurrentKegHistory', field=<django.db.models.fields.BooleanField>>, <AlterField model_name='historicalkeghistory', name='openingDate', field=<django.db.models.fields.DateTimeField>>, <AlterField model_name='historicalkeghistory', name='quantitySold', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='historicalmenuhistory', name='amount', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='historicalmenuhistory', name='quantity', field=<django.db.models.fields.PositiveIntegerField>>, <AlterField model_name='historicalproduct', name='category', field=<django.db.models.fields.CharField>>, <AlterField model_name='keghistory', name='amountSold', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='keghistory', name='closingDate', field=<django.db.models.fields.DateTimeField>>, <AlterField model_name='keghistory', name='isCurrentKegHistory', field=<django.db.models.fields.BooleanField>>, <AlterField model_name='keghistory', name='keg', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='keghistory', name='openingDate', field=<django.db.models.fields.DateTimeField>>, <AlterField model_name='keghistory', name='quantitySold', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='menuhistory', name='amount', field=<django.db.models.fields.DecimalField>>, <AlterField model_name='menuhistory', name='customer', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='menuhistory', name='paymentMethod', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='menuhistory', name='quantity', field=<django.db.models.fields.PositiveIntegerField>>, <AlterField model_name='product', name='category', field=<django.db.models.fields.CharField>>]

## Module contents