mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-25 21:40:07 +01:00
Merge pull request #1743 from master3395/v2.5.5-dev
Add websiteFunctions legacy Websites stub migration
This commit is contained in:
36
websiteFunctions/migrations/0001_initial.py
Normal file
36
websiteFunctions/migrations/0001_initial.py
Normal file
@@ -0,0 +1,36 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# limitedPhpmyAdmin-websiteFunctions-stub
|
||||
"""
|
||||
State-only registration for legacy Websites table (CyberPanel has no prior
|
||||
django_migrations for websiteFunctions). Allows plugin FKs to resolve without
|
||||
creating or altering the existing websiteFunctions_websites table.
|
||||
"""
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = []
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Websites',
|
||||
fields=[
|
||||
(
|
||||
'id',
|
||||
models.AutoField(
|
||||
auto_created=True,
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
verbose_name='ID',
|
||||
),
|
||||
),
|
||||
],
|
||||
options={
|
||||
'db_table': 'websiteFunctions_websites',
|
||||
'managed': False,
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user