-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from MarcBarlett/master
squash dashboard migrations
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
jet/dashboard/migrations/0001_squashed_0002_auto_20201228_1929.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'), | ||
}, | ||
), | ||
] |