Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
infrastruktur
warpinfra
Commits
163f830d
Commit
163f830d
authored
Sep 19, 2016
by
Christian Dresen
Browse files
no message
parent
5a37c587
Changes
15
Hide whitespace changes
Inline
Side-by-side
www/web/warpauth/migrations/0001_initial.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 16:21
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
ldapdb.models.fields
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'LdapGroup'
,
fields
=
[
(
'dn'
,
models
.
CharField
(
max_length
=
200
)),
(
'gid'
,
ldapdb
.
models
.
fields
.
IntegerField
(
db_column
=
'gidNumber'
,
unique
=
True
)),
(
'name'
,
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'cn'
,
max_length
=
200
,
primary_key
=
True
,
serialize
=
False
)),
(
'members'
,
ldapdb
.
models
.
fields
.
ListField
(
db_column
=
'memberUid'
)),
],
options
=
{
'abstract'
:
False
,
},
),
migrations
.
CreateModel
(
name
=
'LdapUser'
,
fields
=
[
(
'dn'
,
models
.
CharField
(
max_length
=
200
)),
(
'uid'
,
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'uid'
,
max_length
=
200
,
primary_key
=
True
,
serialize
=
False
,
unique
=
True
)),
(
'first_name'
,
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'givenName'
,
max_length
=
200
)),
(
'last_name'
,
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'sn'
,
max_length
=
200
)),
(
'email'
,
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'mail'
,
max_length
=
200
)),
(
'cn'
,
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'cn'
,
max_length
=
200
)),
],
options
=
{
'abstract'
:
False
,
},
),
migrations
.
CreateModel
(
name
=
'PasswordResetToken'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'user'
,
models
.
CharField
(
max_length
=
100
)),
(
'email'
,
models
.
CharField
(
max_length
=
100
)),
(
'hash'
,
models
.
CharField
(
max_length
=
100
)),
(
'created'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
],
),
]
www/web/warpauth/migrations/0002_auto_20160818_1603.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-18 16:03
from
__future__
import
unicode_literals
from
django.db
import
migrations
import
ldapdb.models.fields
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'warpauth'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'ldapgroup'
,
name
=
'gid'
,
field
=
ldapdb
.
models
.
fields
.
IntegerField
(
db_column
=
'gidNumber'
,
unique
=
True
),
),
migrations
.
AlterField
(
model_name
=
'ldapgroup'
,
name
=
'members'
,
field
=
ldapdb
.
models
.
fields
.
ListField
(
db_column
=
'memberUid'
),
),
migrations
.
AlterField
(
model_name
=
'ldapgroup'
,
name
=
'name'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'cn'
,
max_length
=
200
,
primary_key
=
True
,
serialize
=
False
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'cn'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'cn'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'email'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'mail'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'first_name'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'givenName'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'last_name'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'sn'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'uid'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'uid'
,
max_length
=
200
,
primary_key
=
True
,
serialize
=
False
,
unique
=
True
),
),
]
www/web/warpauth/migrations/0002_auto_20160821_1613.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 16:13
from
__future__
import
unicode_literals
from
django.db
import
migrations
import
ldapdb.models.fields
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'warpauth'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'ldapgroup'
,
name
=
'gid'
,
field
=
ldapdb
.
models
.
fields
.
IntegerField
(
db_column
=
'gidNumber'
,
unique
=
True
),
),
migrations
.
AlterField
(
model_name
=
'ldapgroup'
,
name
=
'members'
,
field
=
ldapdb
.
models
.
fields
.
ListField
(
db_column
=
'memberUid'
),
),
migrations
.
AlterField
(
model_name
=
'ldapgroup'
,
name
=
'name'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'cn'
,
max_length
=
200
,
primary_key
=
True
,
serialize
=
False
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'cn'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'cn'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'email'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'mail'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'first_name'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'givenName'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'last_name'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'sn'
,
max_length
=
200
),
),
migrations
.
AlterField
(
model_name
=
'ldapuser'
,
name
=
'uid'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'uid'
,
max_length
=
200
,
primary_key
=
True
,
serialize
=
False
,
unique
=
True
),
),
]
www/web/warpauth/migrations/0002_ldapuser_card_id.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 16:52
from
__future__
import
unicode_literals
from
django.db
import
migrations
import
ldapdb.models.fields
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'warpauth'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'ldapuser'
,
name
=
'card_id'
,
field
=
ldapdb
.
models
.
fields
.
CharField
(
db_column
=
'pager'
,
default
=
0
,
max_length
=
200
),
preserve_default
=
False
,
),
]
www/web/warpauth/migrations/__init__.py
deleted
100644 → 0
View file @
5a37c587
www/web/warpfood/migrations/0001_initial.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 16:20
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
django.db.models.deletion
import
django.utils.timezone
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'FoodCategory'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
250
)),
],
),
migrations
.
CreateModel
(
name
=
'FoodOrder'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'user'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'article'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'size'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'comment'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'price'
,
models
.
FloatField
()),
(
'paid'
,
models
.
BooleanField
(
default
=
False
)),
],
),
migrations
.
CreateModel
(
name
=
'FoodProduct'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
250
)),
(
'size'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'price'
,
models
.
FloatField
()),
(
'food_category'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'warpfood.FoodCategory'
)),
],
),
migrations
.
CreateModel
(
name
=
'FoodService'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
250
)),
(
'phone'
,
models
.
CharField
(
max_length
=
250
)),
],
),
migrations
.
CreateModel
(
name
=
'FoodSheet'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'date'
,
models
.
DateTimeField
(
default
=
django
.
utils
.
timezone
.
now
)),
(
'estimated_order_time'
,
models
.
DateTimeField
()),
(
'closed'
,
models
.
BooleanField
(
default
=
False
)),
(
'order_user'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'order_time'
,
models
.
DateTimeField
(
null
=
True
)),
(
'food_service'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'warpfood.FoodService'
)),
],
),
migrations
.
AddField
(
model_name
=
'foodproduct'
,
name
=
'food_service'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'warpfood.FoodService'
),
),
migrations
.
AddField
(
model_name
=
'foodorder'
,
name
=
'sheet'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'warpfood.FoodSheet'
),
),
]
www/web/warpfood/migrations/__init__.py
deleted
100644 → 0
View file @
5a37c587
www/web/warpmain/migrations/0001_initial.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 16:27
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'News'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'user'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'title'
,
models
.
CharField
(
max_length
=
100
)),
(
'message'
,
models
.
TextField
()),
(
'created'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
],
),
]
www/web/warpmain/migrations/__init__.py
deleted
100644 → 0
View file @
5a37c587
www/web/warppay/migrations/0001_initial.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 16:21
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Product'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'user'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
)),
(
'title'
,
models
.
CharField
(
max_length
=
100
)),
(
'message'
,
models
.
TextField
()),
(
'created'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
],
),
migrations
.
CreateModel
(
name
=
'UserCredit'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'uid'
,
models
.
CharField
(
max_length
=
100
,
unique
=
True
)),
(
'card_id'
,
models
.
IntegerField
()),
(
'credit'
,
models
.
FloatField
()),
],
),
]
www/web/warppay/migrations/0002_auto_20160821_1701.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 17:01
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'warppay'
,
'0001_initial'
),
]
operations
=
[
migrations
.
RenameField
(
model_name
=
'product'
,
old_name
=
'user'
,
new_name
=
'name'
,
),
migrations
.
RemoveField
(
model_name
=
'product'
,
name
=
'created'
,
),
migrations
.
RemoveField
(
model_name
=
'product'
,
name
=
'message'
,
),
migrations
.
RemoveField
(
model_name
=
'product'
,
name
=
'title'
,
),
migrations
.
AddField
(
model_name
=
'product'
,
name
=
'count'
,
field
=
models
.
IntegerField
(
default
=
0
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'product'
,
name
=
'price'
,
field
=
models
.
FloatField
(
default
=
0
),
preserve_default
=
False
,
),
]
www/web/warppay/migrations/0002_usercredit_card_id.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 16:12
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'warppay'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'usercredit'
,
name
=
'card_id'
,
field
=
models
.
IntegerField
(
default
=
0
),
preserve_default
=
False
,
),
]
www/web/warppay/migrations/0003_auto_20160821_1706.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-08-21 17:06
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'warppay'
,
'0002_auto_20160821_1701'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'ProductCategory'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
100
,
unique
=
True
)),
],
),
migrations
.
AddField
(
model_name
=
'product'
,
name
=
'category'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'warppay.ProductCategory'
),
),
]
www/web/warppay/migrations/0004_auto_20160909_1401.py
deleted
100644 → 0
View file @
5a37c587
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-09-09 14:01
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'warppay'
,
'0003_auto_20160821_1706'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'usercredit'
,
name
=
'card_id'
,
field
=
models
.
CharField
(
max_length
=
10
,
unique
=
True
),
),
]
www/web/warppay/migrations/__init__.py
deleted
100644 → 0
View file @
5a37c587
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment