Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
edfdb8ce
Commit
edfdb8ce
authored
Feb 06, 2019
by
Emmanuel René Huchim Puc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrations
parent
97e09371
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
0 deletions
+69
-0
0011_auto_20190206_1555.py
catalog/migrations/0011_auto_20190206_1555.py
+69
-0
No files found.
catalog/migrations/0011_auto_20190206_1555.py
0 → 100644
View file @
edfdb8ce
# Generated by Django 2.0.5 on 2019-02-06 15:55
from
django.conf
import
settings
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
migrations
.
swappable_dependency
(
settings
.
AUTH_USER_MODEL
),
(
'catalog'
,
'0010_process'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Purchase'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'productList'
,
models
.
TextField
(
verbose_name
=
'JSON Product List'
)),
(
'purchased'
,
models
.
BooleanField
(
default
=
False
)),
(
'price'
,
models
.
FloatField
(
default
=
0.0
)),
],
),
migrations
.
CreateModel
(
name
=
'Search'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'startDate'
,
models
.
DateTimeField
(
verbose_name
=
'Start Date'
)),
(
'endDate'
,
models
.
DateTimeField
(
verbose_name
=
'End Date'
)),
(
'clouds'
,
models
.
IntegerField
(
default
=
4
)),
],
),
migrations
.
RenameField
(
model_name
=
'process'
,
old_name
=
'tag'
,
new_name
=
'name'
,
),
migrations
.
AddField
(
model_name
=
'process'
,
name
=
'platform'
,
field
=
models
.
ForeignKey
(
default
=
''
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'catalog.Platform'
),
),
migrations
.
AddField
(
model_name
=
'process'
,
name
=
'productLevel'
,
field
=
models
.
CharField
(
default
=
''
,
max_length
=
8
),
),
migrations
.
AddField
(
model_name
=
'search'
,
name
=
'process'
,
field
=
models
.
ForeignKey
(
default
=
''
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'catalog.Process'
),
),
migrations
.
AddField
(
model_name
=
'search'
,
name
=
'user'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
settings
.
AUTH_USER_MODEL
),
),
migrations
.
AddField
(
model_name
=
'purchase'
,
name
=
'search'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'catalog.Search'
),
),
migrations
.
AddField
(
model_name
=
'purchase'
,
name
=
'user'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
settings
.
AUTH_USER_MODEL
),
),
]
Write
Preview
Markdown
is supported
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