summaryrefslogtreecommitdiff
path: root/bak/unused_apps/recordings/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-07-28 13:39:02 -0500
committerluxagraf <sng@luxagraf.net>2023-07-28 13:39:02 -0500
commit9a620cf42bf1fe6977e378bd834b41ff4a593dde (patch)
treecf41a0582681cecaf88a30bfe409f9c2be57972a /bak/unused_apps/recordings/migrations
parent6e5897117124cd60ae81efb1574c6347f48e60e5 (diff)
main: removed some apps I wasn't using and added bak to git to preserve
a copy of old apps
Diffstat (limited to 'bak/unused_apps/recordings/migrations')
-rw-r--r--bak/unused_apps/recordings/migrations/0001_initial.py34
-rw-r--r--bak/unused_apps/recordings/migrations/0002_auto_20190325_1417.py26
-rw-r--r--bak/unused_apps/recordings/migrations/__init__.py0
3 files changed, 60 insertions, 0 deletions
diff --git a/bak/unused_apps/recordings/migrations/0001_initial.py b/bak/unused_apps/recordings/migrations/0001_initial.py
new file mode 100644
index 0000000..d70b7dc
--- /dev/null
+++ b/bak/unused_apps/recordings/migrations/0001_initial.py
@@ -0,0 +1,34 @@
+# Generated by Django 2.1.7 on 2019-03-25 14:12
+
+import datetime
+from django.db import migrations, models
+import recordings.models
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Audio',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(max_length=200)),
+ ('subtitle', models.CharField(blank=True, max_length=200)),
+ ('slug', models.SlugField(blank=True, unique_for_date='pub_date')),
+ ('body_html', models.TextField(blank=True)),
+ ('body_markdown', models.TextField(blank=True)),
+ ('pub_date', models.DateTimeField(default=datetime.datetime.now)),
+ ('mp3', models.FileField(blank=True, null=True, upload_to=recordings.models.get_upload_path)),
+ ('ogg', models.FileField(blank=True, null=True, upload_to=recordings.models.get_upload_path)),
+ ],
+ options={
+ 'get_latest_by': 'pub_date',
+ 'ordering': ('-pub_date',),
+ },
+ ),
+ ]
diff --git a/bak/unused_apps/recordings/migrations/0002_auto_20190325_1417.py b/bak/unused_apps/recordings/migrations/0002_auto_20190325_1417.py
new file mode 100644
index 0000000..d5193d3
--- /dev/null
+++ b/bak/unused_apps/recordings/migrations/0002_auto_20190325_1417.py
@@ -0,0 +1,26 @@
+# Generated by Django 2.1.7 on 2019-03-25 14:17
+
+import django.contrib.gis.db.models.fields
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('locations', '0017_auto_20190217_1849'),
+ ('recordings', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='audio',
+ name='location',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location'),
+ ),
+ migrations.AddField(
+ model_name='audio',
+ name='point',
+ field=django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326),
+ ),
+ ]
diff --git a/bak/unused_apps/recordings/migrations/__init__.py b/bak/unused_apps/recordings/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/bak/unused_apps/recordings/migrations/__init__.py