@ -1,4 +1,4 @@
# Generated by Django 2.1.4 on 2019-01-09 11:3 5
# Generated by Django 2.1.4 on 2019-01-13 16 :56
from django . conf import settings
from django . conf import settings
import django . contrib . auth . models
import django . contrib . auth . models
@ -35,8 +35,8 @@ class Migration(migrations.Migration):
( ' groups ' , models . ManyToManyField ( blank = True , help_text = ' The groups this user belongs to. A user will get all permissions granted to each of their groups. ' , related_name = ' user_set ' , related_query_name = ' user ' , to = ' auth.Group ' , verbose_name = ' groups ' ) ) ,
( ' groups ' , models . ManyToManyField ( blank = True , help_text = ' The groups this user belongs to. A user will get all permissions granted to each of their groups. ' , related_name = ' user_set ' , related_query_name = ' user ' , to = ' auth.Group ' , verbose_name = ' groups ' ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' user ' ,
' db_table ' : ' user ' ,
' managed ' : True ,
} ,
} ,
managers = [
managers = [
( ' objects ' , django . contrib . auth . models . UserManager ( ) ) ,
( ' objects ' , django . contrib . auth . models . UserManager ( ) ) ,
@ -51,8 +51,8 @@ class Migration(migrations.Migration):
( ' diet_is_approved ' , models . BooleanField ( default = False ) ) ,
( ' diet_is_approved ' , models . BooleanField ( default = False ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' diet ' ,
' db_table ' : ' diet ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -62,8 +62,8 @@ class Migration(migrations.Migration):
( ' diet ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Diet ' ) ) ,
( ' diet ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Diet ' ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' diet_prohibits_ingredient ' ,
' db_table ' : ' diet_prohibits_ingredient ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -75,8 +75,8 @@ class Migration(migrations.Migration):
( ' drink_is_approved ' , models . BooleanField ( default = False ) ) ,
( ' drink_is_approved ' , models . BooleanField ( default = False ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' drink ' ,
' db_table ' : ' drink ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -86,8 +86,8 @@ class Migration(migrations.Migration):
( ' drink ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Drink ' ) ) ,
( ' drink ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Drink ' ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' drink_has_ingredient ' ,
' db_table ' : ' drink_has_ingredient ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -100,8 +100,8 @@ class Migration(migrations.Migration):
( ' food_is_approved ' , models . BooleanField ( default = False ) ) ,
( ' food_is_approved ' , models . BooleanField ( default = False ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' food ' ,
' db_table ' : ' food ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -111,8 +111,8 @@ class Migration(migrations.Migration):
( ' food ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Food ' ) ) ,
( ' food ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Food ' ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' food_has_ingredient ' ,
' db_table ' : ' food_has_ingredient ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -122,8 +122,8 @@ class Migration(migrations.Migration):
( ' ingredient_has_alcohol ' , models . BooleanField ( blank = True , default = False , null = True ) ) ,
( ' ingredient_has_alcohol ' , models . BooleanField ( blank = True , default = False , null = True ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' ingredient ' ,
' db_table ' : ' ingredient ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -133,8 +133,8 @@ class Migration(migrations.Migration):
( ' permission_description ' , models . CharField ( max_length = 700 ) ) ,
( ' permission_description ' , models . CharField ( max_length = 700 ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' permission ' ,
' db_table ' : ' permission ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -151,8 +151,8 @@ class Migration(migrations.Migration):
( ' user ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
( ' user ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' restaurant ' ,
' db_table ' : ' restaurant ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -163,8 +163,8 @@ class Migration(migrations.Migration):
( ' role_description ' , models . CharField ( max_length = 700 ) ) ,
( ' role_description ' , models . CharField ( max_length = 700 ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' role ' ,
' db_table ' : ' role ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -175,8 +175,8 @@ class Migration(migrations.Migration):
( ' role ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Role ' ) ) ,
( ' role ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Role ' ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' role_has_permission ' ,
' db_table ' : ' role_has_permission ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -187,8 +187,8 @@ class Migration(migrations.Migration):
( ' user ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
( ' user ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' user_follows_diet ' ,
' db_table ' : ' user_follows_diet ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -199,8 +199,8 @@ class Migration(migrations.Migration):
( ' user ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
( ' user ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' user_prohibits_ingredient ' ,
' db_table ' : ' user_prohibits_ingredient ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -208,15 +208,15 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' rating_grade ' , models . IntegerField ( ) ) ,
( ' rating_grade ' , models . IntegerField ( ) ) ,
( ' rating_date ' , models . DateField ( ) ) ,
( ' rating_date ' , models . DateField ( auto_now = True ) ) ,
( ' rating_text ' , models . CharField ( blank = True , max_length = 700 , null = True ) ) ,
( ' rating_text ' , models . CharField ( blank = True , max_length = 700 , null = True ) ) ,
( ' rating_pοrtion_size ' , models . CharField ( blank = True , max_length = 6 , null = True ) ) ,
( ' rating_pοrtion_size ' , models . CharField ( blank = True , max_length = 6 , null = True ) ) ,
( ' drink ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Drink ' ) ) ,
( ' drink ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Drink ' ) ) ,
( ' user ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
( ' user ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' user_rates_drink ' ,
' db_table ' : ' user_rates_drink ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -224,15 +224,15 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' rating_grade ' , models . IntegerField ( ) ) ,
( ' rating_grade ' , models . IntegerField ( ) ) ,
( ' rating_date ' , models . DateField ( ) ) ,
( ' rating_date ' , models . DateField ( auto_now = True ) ) ,
( ' rating_text ' , models . CharField ( blank = True , max_length = 700 , null = True ) ) ,
( ' rating_text ' , models . CharField ( blank = True , max_length = 700 , null = True ) ) ,
( ' rating_pοrtion_size ' , models . CharField ( blank = True , max_length = 6 , null = True ) ) ,
( ' rating_pοrtion_size ' , models . CharField ( blank = True , max_length = 6 , null = True ) ) ,
( ' food ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Food ' ) ) ,
( ' food ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Food ' ) ) ,
( ' user ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
( ' user ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' user_rates_food ' ,
' db_table ' : ' user_rates_food ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . CreateModel (
migrations . CreateModel (
@ -240,16 +240,16 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' rating_grade ' , models . IntegerField ( ) ) ,
( ' rating_grade ' , models . IntegerField ( ) ) ,
( ' rating_date ' , models . DateField ( ) ) ,
( ' rating_date ' , models . DateField ( auto_now = True ) ) ,
( ' rating_text ' , models . CharField ( blank = True , max_length = 700 , null = True ) ) ,
( ' rating_text ' , models . CharField ( blank = True , max_length = 700 , null = True ) ) ,
( ' rating_accessibility ' , models . CharField ( blank = True , max_length = 8 , null = True ) ) ,
( ' rating_accessibility ' , models . CharField ( blank = True , max_length = 8 , null = True ) ) ,
( ' diet ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Diet ' ) ) ,
( ' diet ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Diet ' ) ) ,
( ' restaurant ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Restaurant ' ) ) ,
( ' restaurant ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = ' hyrieus.Restaurant ' ) ) ,
( ' user ' , models . ForeignKey ( on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
( ' user ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . DO_NOTHING , to = settings . AUTH_USER_MODEL ) ) ,
] ,
] ,
options = {
options = {
' managed ' : True ,
' db_table ' : ' user_rates_restaurant ' ,
' db_table ' : ' user_rates_restaurant ' ,
' managed ' : True ,
} ,
} ,
) ,
) ,
migrations . AddField (
migrations . AddField (