Commit db49a388308f53320587a074fc37a61023db9bbb
1 parent
b44f8bda
Exists in
master
and in
34 other branches
Added migrations
Showing
2 changed files
with
28 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,28 @@ |
1 | +# -*- coding: utf-8 -*- | |
2 | +from __future__ import unicode_literals | |
3 | + | |
4 | +from django.db import models, migrations | |
5 | + | |
6 | + | |
7 | +class Migration(migrations.Migration): | |
8 | + | |
9 | + dependencies = [ | |
10 | + ('gitlab', '0001_initial'), | |
11 | + ('super_archives', '0002_mailinglist_is_private'), | |
12 | + ('noosfero', '0001_initial'), | |
13 | + ] | |
14 | + | |
15 | + operations = [ | |
16 | + migrations.CreateModel( | |
17 | + name='CommunityAssociations', | |
18 | + fields=[ | |
19 | + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), | |
20 | + ('community', models.ForeignKey(to='noosfero.NoosferoCommunity', null=True)), | |
21 | + ('group', models.ForeignKey(to='gitlab.GitlabGroup', null=True)), | |
22 | + ('mail_list', models.ForeignKey(to='super_archives.MailingList', null=True)), | |
23 | + ], | |
24 | + options={ | |
25 | + }, | |
26 | + bases=(models.Model,), | |
27 | + ), | |
28 | + ] | ... | ... |