summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/booking
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-08-22 18:50:33 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-08-22 18:59:32 +0200
commitb426489bafaa4d6d09d1b6cefbbd9a17509090d9 (patch)
tree711d0d06336ea8fd10929c1b55c0b04dce509863 /pharos-dashboard/booking
parent114a6fb65e14f15487bc8db33cedae011fc42cac (diff)
Remove database migration files
JIRA: RELENG-12 Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/booking')
-rw-r--r--pharos-dashboard/booking/migrations/0001_initial.py34
-rw-r--r--pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py19
-rw-r--r--pharos-dashboard/booking/migrations/0003_remove_booking_status.py19
3 files changed, 0 insertions, 72 deletions
diff --git a/pharos-dashboard/booking/migrations/0001_initial.py b/pharos-dashboard/booking/migrations/0001_initial.py
deleted file mode 100644
index 9706b81..0000000
--- a/pharos-dashboard/booking/migrations/0001_initial.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ('dashboard', '0001_initial'),
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Booking',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('start', models.DateTimeField()),
- ('end', models.DateTimeField()),
- ('purpose', models.CharField(max_length=300)),
- ('resource', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='dashboard.Resource')),
- ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'booking',
- },
- ),
- ]
diff --git a/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py b/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py
deleted file mode 100644
index 335379d..0000000
--- a/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:50
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('booking', '0001_initial'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='booking',
- name='deleted',
- ),
- ]
diff --git a/pharos-dashboard/booking/migrations/0003_remove_booking_status.py b/pharos-dashboard/booking/migrations/0003_remove_booking_status.py
deleted file mode 100644
index 95089a7..0000000
--- a/pharos-dashboard/booking/migrations/0003_remove_booking_status.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:51
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('booking', '0002_remove_booking_deleted'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='booking',
- name='status',
- ),
- ]