1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

# -*- coding: utf-8 -*- 

 

from django.db import models, migrations 

import jsonfield.fields 

import distro_tracker.core.utils 

 

 

class Migration(migrations.Migration): 

 

dependencies = [ 

('django_email_accounts', '0001_initial'), 

('core', '0001_initial'), 

] 

 

operations = [ 

migrations.CreateModel( 

name='BuildLogCheckStats', 

fields=[ 

('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), 

('stats', jsonfield.fields.JSONField(default=dict)), 

('package', models.OneToOneField(related_name='build_logcheck_stats', to='core.SourcePackageName', on_delete=models.CASCADE)), 

], 

options={ 

}, 

bases=(models.Model,), 

), 

migrations.CreateModel( 

name='DebianContributor', 

fields=[ 

('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), 

('agree_with_low_threshold_nmu', models.BooleanField(default=False)), 

('is_debian_maintainer', models.BooleanField(default=False)), 

('allowed_packages', distro_tracker.core.utils.SpaceDelimitedTextField(blank=True)), 

('email', models.OneToOneField(to='django_email_accounts.UserEmail', on_delete=models.CASCADE)), 

], 

options={ 

}, 

bases=(models.Model,), 

), 

migrations.CreateModel( 

name='LintianStats', 

fields=[ 

('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), 

('stats', jsonfield.fields.JSONField(default=dict)), 

('package', models.OneToOneField(related_name='lintian_stats', to='core.PackageName', on_delete=models.CASCADE)), 

], 

options={ 

}, 

bases=(models.Model,), 

), 

migrations.CreateModel( 

name='PackageExcuses', 

fields=[ 

('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), 

('excuses', jsonfield.fields.JSONField(default=dict)), 

('package', models.OneToOneField(related_name='excuses', to='core.PackageName', on_delete=models.CASCADE)), 

], 

options={ 

}, 

bases=(models.Model,), 

), 

migrations.CreateModel( 

name='PackageTransition', 

fields=[ 

('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), 

('transition_name', models.CharField(max_length=50)), 

('status', models.CharField(max_length=50, null=True, blank=True)), 

('reject', models.BooleanField(default=False)), 

('package', models.ForeignKey(related_name='package_transitions', to='core.PackageName', on_delete=models.CASCADE)), 

], 

options={ 

}, 

bases=(models.Model,), 

), 

migrations.CreateModel( 

name='UbuntuPackage', 

fields=[ 

('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), 

('version', models.TextField(max_length=100)), 

('bugs', jsonfield.fields.JSONField(null=True, blank=True)), 

('patch_diff', jsonfield.fields.JSONField(null=True, blank=True)), 

('package', models.OneToOneField(related_name='ubuntu_package', to='core.PackageName', on_delete=models.CASCADE)), 

], 

options={ 

}, 

bases=(models.Model,), 

), 

]