Update logic for update_seen of clients
This commit is contained in:
		
							
								
								
									
										24
									
								
								billard/migrations/0027_clientdata.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								billard/migrations/0027_clientdata.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
# Generated by Django 2.0.2 on 2018-02-19 10:23
 | 
			
		||||
 | 
			
		||||
from django.db import migrations, models
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('billard', '0026_client_last_seen'),
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
    operations = [
 | 
			
		||||
        migrations.CreateModel(
 | 
			
		||||
            name='ClientData',
 | 
			
		||||
            fields=[
 | 
			
		||||
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
 | 
			
		||||
                ('uuid', models.UUIDField(verbose_name='Identifier')),
 | 
			
		||||
                ('last_seen', models.DateTimeField(verbose_name='Letzter Update')),
 | 
			
		||||
            ],
 | 
			
		||||
            options={
 | 
			
		||||
                'verbose_name': 'Client Data logs',
 | 
			
		||||
                'verbose_name_plural': 'Client Data logs',
 | 
			
		||||
            },
 | 
			
		||||
        ),
 | 
			
		||||
    ]
 | 
			
		||||
		Reference in New Issue
	
	Block a user