mirror of
https://github.com/Rushilwiz/house-party.git
synced 2025-04-20 19:40:17 -04:00
26 lines
792 B
Python
26 lines
792 B
Python
# Generated by Django 3.1.4 on 2020-12-19 18:02
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Room',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('code', models.CharField(default='', max_length=8, unique=True)),
|
|
('host', models.CharField(max_length=50, unique=True)),
|
|
('guest_can_pause', models.BooleanField(default=False)),
|
|
('votes_to_skip', models.IntegerField(default=0)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
),
|
|
]
|