41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 3.1 on 2020-08-25 20:45
 | |
| 
 | |
| import uuid
 | |
| 
 | |
| import django.contrib.postgres.fields
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     initial = True
 | |
| 
 | |
|     dependencies = [
 | |
|         ("passbook_core", "0008_auto_20200824_1532"),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.CreateModel(
 | |
|             name="Outpost",
 | |
|             fields=[
 | |
|                 (
 | |
|                     "uuid",
 | |
|                     models.UUIDField(
 | |
|                         default=uuid.uuid4,
 | |
|                         editable=False,
 | |
|                         primary_key=True,
 | |
|                         serialize=False,
 | |
|                     ),
 | |
|                 ),
 | |
|                 ("name", models.TextField()),
 | |
|                 (
 | |
|                     "channels",
 | |
|                     django.contrib.postgres.fields.ArrayField(
 | |
|                         base_field=models.TextField(), size=None
 | |
|                     ),
 | |
|                 ),
 | |
|                 ("providers", models.ManyToManyField(to="passbook_core.Provider")),
 | |
|             ],
 | |
|         ),
 | |
|     ]
 | 
