mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			815 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			815 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import django.utils.timezone
 | 
						|
from django.db import migrations, models
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
 | 
						|
    dependencies = [
 | 
						|
        ("confirmation", "0001_initial"),
 | 
						|
    ]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.CreateModel(
 | 
						|
            name="RealmCreationKey",
 | 
						|
            fields=[
 | 
						|
                (
 | 
						|
                    "id",
 | 
						|
                    models.AutoField(
 | 
						|
                        verbose_name="ID", serialize=False, auto_created=True, primary_key=True
 | 
						|
                    ),
 | 
						|
                ),
 | 
						|
                ("creation_key", models.CharField(max_length=40, verbose_name="activation key")),
 | 
						|
                (
 | 
						|
                    "date_created",
 | 
						|
                    models.DateTimeField(default=django.utils.timezone.now, verbose_name="created"),
 | 
						|
                ),
 | 
						|
            ],
 | 
						|
        ),
 | 
						|
    ]
 |