Added project, app, scaffolds
This commit is contained in:
		
							
								
								
									
										25
									
								
								source/lostplaces/lostplaces_app/migrations/0001_initial.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								source/lostplaces/lostplaces_app/migrations/0001_initial.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
# Generated by Django 3.0.8 on 2020-07-18 20:12
 | 
			
		||||
 | 
			
		||||
from django.db import migrations, models
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    initial = True
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
    operations = [
 | 
			
		||||
        migrations.CreateModel(
 | 
			
		||||
            name='Place',
 | 
			
		||||
            fields=[
 | 
			
		||||
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
 | 
			
		||||
                ('name', models.CharField(max_length=50)),
 | 
			
		||||
                ('location', models.CharField(max_length=50)),
 | 
			
		||||
                ('latitude', models.FloatField()),
 | 
			
		||||
                ('longitude', models.FloatField()),
 | 
			
		||||
                ('description', models.TextField()),
 | 
			
		||||
            ],
 | 
			
		||||
        ),
 | 
			
		||||
    ]
 | 
			
		||||
		Reference in New Issue
	
	Block a user