mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Added base migrations
This commit is contained in:
parent
132eca7c8f
commit
f075d4aec1
5 changed files with 260 additions and 0 deletions
23
evennia/comms/migrations/0004_defaultchannel.py
Normal file
23
evennia/comms/migrations/0004_defaultchannel.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('comms', '0003_auto_20140917_0756'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='DefaultChannel',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('comms.channeldb',),
|
||||
),
|
||||
]
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('objects', '0002_auto_20140917_0756'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='DefaultObject',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('objects.objectdb',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='DefaultExit',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('objects.defaultobject',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='DefaultCharacter',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('objects.defaultobject',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='DefaultRoom',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('objects.defaultobject',),
|
||||
),
|
||||
]
|
||||
82
evennia/players/migrations/0002_auto_20150109_0913.py
Normal file
82
evennia/players/migrations/0002_auto_20150109_0913.py
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('scripts', '0002_checksessions_donothing_script_scriptbase_store_validatechannelhandler_validateidmappercache_validat'),
|
||||
('players', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='BotStarter',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.script',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='DefaultPlayer',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('players.playerdb',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='DefaultGuest',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('players.defaultplayer',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Bot',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('players.defaultplayer',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='IMC2Bot',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('players.bot',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='IRCBot',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('players.bot',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='RSSBot',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('players.bot',),
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='playerdb',
|
||||
options={'verbose_name': 'Player'},
|
||||
),
|
||||
]
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('scripts', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='ScriptBase',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.scriptdb',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Script',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.scriptbase',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='CheckSessions',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.script',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='DoNothing',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.script',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Store',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.script',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='ValidateChannelHandler',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.script',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='ValidateIdmapperCache',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.script',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='ValidateScripts',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'proxy': True,
|
||||
},
|
||||
bases=('scripts.script',),
|
||||
),
|
||||
]
|
||||
19
evennia/typeclasses/migrations/0002_auto_20150109_0913.py
Normal file
19
evennia/typeclasses/migrations/0002_auto_20150109_0913.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('typeclasses', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='attribute',
|
||||
name='db_model',
|
||||
field=models.CharField(max_length=32, blank=True, help_text=b"Which model of object this attribute is attached to (A natural key like 'objects.dbobject'). You should not change this value unless you know what you are doing.", null=True, verbose_name=b'model', db_index=True),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue