mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-30 19:43:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			815 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			815 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ("analytics", "0002_remove_huddlecount"),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.CreateModel(
 | |
|             name="FillState",
 | |
|             fields=[
 | |
|                 (
 | |
|                     "id",
 | |
|                     models.AutoField(
 | |
|                         verbose_name="ID", serialize=False, auto_created=True, primary_key=True
 | |
|                     ),
 | |
|                 ),
 | |
|                 ("property", models.CharField(unique=True, max_length=40)),
 | |
|                 ("end_time", models.DateTimeField()),
 | |
|                 ("state", models.PositiveSmallIntegerField()),
 | |
|                 ("last_modified", models.DateTimeField(auto_now=True)),
 | |
|             ],
 | |
|             bases=(models.Model,),
 | |
|         ),
 | |
|     ]
 |