friendsmap/map/migrations/0007_locationsharinggroup.py

23 lines
679 B
Python
Raw Normal View History

# Generated by Django 2.1.7 on 2019-03-03 16:57
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0006_auto_20190303_1308'),
]
operations = [
migrations.CreateModel(
name='LocationSharingGroup',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=250)),
('friends', models.ManyToManyField(related_name='location_sharing_groups', to=settings.AUTH_USER_MODEL)),
],
),
]