diff --git a/.gitignore b/.gitignore index 84e5c0c..b0e9c03 100644 --- a/.gitignore +++ b/.gitignore @@ -22,5 +22,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -migrations/ db.sqlite3 diff --git a/server/tournament/migrations/0001_initial.py b/server/tournament/migrations/0001_initial.py new file mode 100644 index 0000000..b34e5fb --- /dev/null +++ b/server/tournament/migrations/0001_initial.py @@ -0,0 +1,37 @@ +# Generated by Django 2.2.12 on 2020-05-11 05:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Game', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=100)), + ('index', models.CharField(max_length=100)), + ('agent0', models.CharField(max_length=100)), + ('agent1', models.CharField(max_length=100)), + ('win', models.BooleanField()), + ('payoff', models.FloatField()), + ('replay', models.TextField(blank=True)), + ], + ), + migrations.CreateModel( + name='Payoff', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=100)), + ('agent0', models.CharField(max_length=100)), + ('agent1', models.CharField(max_length=100)), + ('payoff', models.FloatField()), + ], + ), + ] diff --git a/server/tournament/migrations/__init__.py b/server/tournament/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/server/tournament/migrations/__pycache__/0001_initial.cpython-35.pyc b/server/tournament/migrations/__pycache__/0001_initial.cpython-35.pyc new file mode 100644 index 0000000..97ef20d Binary files /dev/null and b/server/tournament/migrations/__pycache__/0001_initial.cpython-35.pyc differ diff --git a/server/tournament/migrations/__pycache__/__init__.cpython-35.pyc b/server/tournament/migrations/__pycache__/__init__.cpython-35.pyc new file mode 100644 index 0000000..6aa2f0d Binary files /dev/null and b/server/tournament/migrations/__pycache__/__init__.cpython-35.pyc differ