Commit 6ad76dd9 authored by David Haynes's avatar David Haynes 🙆

Prevent /migrations from being in version control

- now hidden
parent 480da1b8
......@@ -6,3 +6,4 @@
/go/settings/secret.py
/go/static/admin
/go/media
/go/go/migrations
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='RegisteredUser',
fields=[
('username', models.CharField(max_length=30, serialize=False, primary_key=True)),
('full_name', models.CharField(max_length=100)),
('description', models.TextField(blank=True)),
('approved', models.BooleanField()),
],
options={
},
bases=(models.Model,),
),
migrations.CreateModel(
name='URL',
fields=[
('date_created', models.DateTimeField(default=django.utils.timezone.now)),
('target', models.URLField(max_length=1000)),
('short', models.CharField(max_length=20, serialize=False, primary_key=True)),
('clicks', models.IntegerField(default=0)),
('expires', models.DateTimeField(null=True, blank=True)),
('owner', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
],
options={
'ordering': ['short'],
},
bases=(models.Model,),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('go', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='url',
name='qrclicks',
field=models.IntegerField(default=0),
preserve_default=True,
),
migrations.AddField(
model_name='url',
name='socialclicks',
field=models.IntegerField(default=0),
preserve_default=True,
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('go', '0002_auto_20140911_1336'),
]
operations = [
migrations.AlterField(
model_name='url',
name='short',
field=models.SlugField(max_length=20, serialize=False, primary_key=True),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-03-15 21:23
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('go', '0003_auto_20160107_1418'),
]
operations = [
migrations.AddField(
model_name='registereduser',
name='organization',
field=models.CharField(default=datetime.datetime(2016, 3, 15, 21, 23, 13, 628051, tzinfo=utc), max_length=100),
preserve_default=False,
),
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment