Skip to content

Commit

Permalink
Merge pull request #127 from MarcBarlett/master
Browse files Browse the repository at this point in the history
squash dashboard migrations
  • Loading branch information
assem-ch authored Sep 29, 2024
2 parents 98f286e + 92d64a3 commit 0dea298
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions jet/dashboard/migrations/0001_squashed_0002_auto_20201228_1929.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Generated by Django 4.2.15 on 2024-09-27 13:47

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

replaces = [('dashboard', '0001_initial'), ('dashboard', '0002_auto_20201228_1929')]

initial = True

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]

operations = [
migrations.CreateModel(
name='UserDashboardModule',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=255, verbose_name='Title')),
('module', models.CharField(max_length=255, verbose_name='module')),
('app_label', models.CharField(blank=True, max_length=255, null=True, verbose_name='application name')),
('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='user')),
('column', models.PositiveIntegerField(verbose_name='column')),
('order', models.IntegerField(verbose_name='order')),
('settings', models.TextField(blank=True, default='', verbose_name='settings')),
('children', models.TextField(blank=True, default='', verbose_name='children')),
('collapsed', models.BooleanField(default=False, verbose_name='collapsed')),
],
options={
'verbose_name': 'user dashboard module',
'verbose_name_plural': 'user dashboard modules',
'ordering': ('column', 'order'),
},
),
]

0 comments on commit 0dea298

Please sign in to comment.