summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/booking/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-dashboard/booking/migrations')
-rw-r--r--tools/pharos-dashboard/booking/migrations/0001_initial.py34
-rw-r--r--tools/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py19
-rw-r--r--tools/pharos-dashboard/booking/migrations/0003_remove_booking_status.py19
3 files changed, 0 insertions, 72 deletions
diff --git a/tools/pharos-dashboard/booking/migrations/0001_initial.py b/tools/pharos-dashboard/booking/migrations/0001_initial.py
deleted file mode 100644
index 9706b812..00000000
--- a/tools/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/tools/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py b/tools/pharos-dashboard/booking/migrations/0002_remove_booking_deleted.py
deleted file mode 100644
index 335379d5..00000000
--- a/tools/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/tools/pharos-dashboard/booking/migrations/0003_remove_booking_status.py b/tools/pharos-dashboard/booking/migrations/0003_remove_booking_status.py
deleted file mode 100644
index 95089a7a..00000000
--- a/tools/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',
- ),
- ]