Exemplo n.º 1
0
    def forwards(self, orm):
        # Adding field 'Meeting.uid'
        db.add_column(u'meetings_meeting', 'uid',
                      self.gf('django.db.models.fields.CharField')(max_length=24, null=True, blank=True),
                      keep_default=False)

        if not db.dry_run:
            create_uids(orm['meetings.Meeting'])
Exemplo n.º 2
0
    def forwards(self, orm):
        # Adding field 'Community.uid'
        db.add_column(u'communities_community', 'uid',
                      self.gf('django.db.models.fields.CharField')(max_length=24, null=True, blank=True),
                      keep_default=False)

        if not db.dry_run:
            create_uids(orm['communities.Community'])
    def forwards(self, orm):
        # Adding field 'IssueComment.uid'
        db.add_column(u'issues_issuecomment',
                      'uid',
                      self.gf('django.db.models.fields.CharField')(
                          max_length=24, null=True, blank=True),
                      keep_default=False)

        # Adding field 'Issue.uid'
        db.add_column(u'issues_issue',
                      'uid',
                      self.gf('django.db.models.fields.CharField')(
                          max_length=24, null=True, blank=True),
                      keep_default=False)

        # Adding field 'Proposal.uid'
        db.add_column(u'issues_proposal',
                      'uid',
                      self.gf('django.db.models.fields.CharField')(
                          max_length=24, null=True, blank=True),
                      keep_default=False)

        if not db.dry_run:
            create_uids(orm['issues.Issue'])
            create_uids(orm['issues.IssueComment'])
            create_uids(orm['issues.Proposal'])
    def forwards(self, orm):
        # Adding field 'IssueComment.uid'
        db.add_column(u'issues_issuecomment', 'uid',
                      self.gf('django.db.models.fields.CharField')(max_length=24, null=True, blank=True),
                      keep_default=False)

        # Adding field 'Issue.uid'
        db.add_column(u'issues_issue', 'uid',
                      self.gf('django.db.models.fields.CharField')(max_length=24, null=True, blank=True),
                      keep_default=False)

        # Adding field 'Proposal.uid'
        db.add_column(u'issues_proposal', 'uid',
                      self.gf('django.db.models.fields.CharField')(max_length=24, null=True, blank=True),
                      keep_default=False)

        if not db.dry_run:
            create_uids(orm['issues.Issue'])
            create_uids(orm['issues.IssueComment'])
            create_uids(orm['issues.Proposal'])