Add migration.
This commit is contained in:
		
							parent
							
								
									780e0b8dbf
								
							
						
					
					
						commit
						e1481ce55e
					
				
					 1 changed files with 28 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								www/conservancy/apps/assignment/migrations/0001_initial.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								www/conservancy/apps/assignment/migrations/0001_initial.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| # -*- coding: utf-8 -*- | ||||
| # Generated by Django 1.10.7 on 2021-11-30 00:24 | ||||
| from __future__ import unicode_literals | ||||
| 
 | ||||
| from django.db import migrations, models | ||||
| 
 | ||||
| 
 | ||||
| class Migration(migrations.Migration): | ||||
| 
 | ||||
|     initial = True | ||||
| 
 | ||||
|     dependencies = [ | ||||
|     ] | ||||
| 
 | ||||
|     operations = [ | ||||
|         migrations.CreateModel( | ||||
|             name='Assignment', | ||||
|             fields=[ | ||||
|                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||||
|                 ('full_name', models.CharField(max_length=255)), | ||||
|                 ('email', models.EmailField(max_length=254)), | ||||
|                 ('place_of_residence', models.TextField(blank=True, verbose_name='Country of citizenship or residential address')), | ||||
|                 ('repository', models.URLField(blank=True, verbose_name='Code repository')), | ||||
|                 ('coverage', models.CharField(choices=[('up to this year', 'One-off up to and including this year'), ('ongoing', 'All existing and new contributions')], default='up to this year', max_length=50, verbose_name='Time period to assign')), | ||||
|                 ('attestation_of_copyright', models.BooleanField(verbose_name='I attest that I own the copyright on these works')), | ||||
|             ], | ||||
|         ), | ||||
|     ] | ||||
		Loading…
	
	Add table
		
		Reference in a new issue