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
4e2754e5
Commit
4e2754e5
authored
Jul 25, 2018
by
Renán Sosa Guillen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new DB migration
parent
2135ff9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
97 additions
and
0 deletions
+97
-0
0008_auto_20180725_1554.py
catalog/migrations/0008_auto_20180725_1554.py
+97
-0
No files found.
catalog/migrations/0008_auto_20180725_1554.py
0 → 100644
View file @
4e2754e5
# -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-07-25 15:54
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'catalog'
,
'0007_polygon_source'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'KeyNameTable'
,
fields
=
[
(
'id'
,
models
.
CharField
(
max_length
=
10
,
primary_key
=
True
,
serialize
=
False
,
unique
=
True
)),
(
'name'
,
models
.
CharField
(
max_length
=
65
)),
],
),
migrations
.
CreateModel
(
name
=
'Product_l1c'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'uuid'
,
models
.
CharField
(
max_length
=
50
)),
(
'identifier'
,
models
.
CharField
(
max_length
=
50
)),
(
'file_path'
,
models
.
CharField
(
max_length
=
50
)),
(
'json'
,
models
.
TextField
(
null
=
True
)),
],
),
migrations
.
CreateModel
(
name
=
'Product_l2a'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'identifier'
,
models
.
CharField
(
max_length
=
50
)),
(
'file_path'
,
models
.
CharField
(
max_length
=
50
)),
(
'prod_l1c'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'catalog.Product_l1c'
)),
],
),
migrations
.
AddField
(
model_name
=
'polygon'
,
name
=
'CVE_AGEB'
,
field
=
models
.
CharField
(
max_length
=
10
,
null
=
True
,
verbose_name
=
'AGEB Key'
),
),
migrations
.
AddField
(
model_name
=
'polygon'
,
name
=
'CVE_ENT'
,
field
=
models
.
CharField
(
max_length
=
10
,
null
=
True
,
verbose_name
=
'State Key'
),
),
migrations
.
AddField
(
model_name
=
'polygon'
,
name
=
'CVE_LOC'
,
field
=
models
.
CharField
(
max_length
=
10
,
null
=
True
,
verbose_name
=
'Location Key'
),
),
migrations
.
AddField
(
model_name
=
'polygon'
,
name
=
'CVE_MUN'
,
field
=
models
.
CharField
(
max_length
=
10
,
null
=
True
,
verbose_name
=
'City Key'
),
),
migrations
.
AddField
(
model_name
=
'polygon'
,
name
=
'E_AGEB'
,
field
=
models
.
CharField
(
max_length
=
10
,
null
=
True
,
verbose_name
=
'AGEB Stratum'
),
),
migrations
.
AddField
(
model_name
=
'polygon'
,
name
=
'E_ENT'
,
field
=
models
.
CharField
(
max_length
=
10
,
null
=
True
,
verbose_name
=
'State Stratum'
),
),
migrations
.
AddField
(
model_name
=
'polygon'
,
name
=
'E_MUN'
,
field
=
models
.
CharField
(
max_length
=
10
,
null
=
True
,
verbose_name
=
'City Stratum'
),
),
migrations
.
AlterField
(
model_name
=
'polygon'
,
name
=
'description'
,
field
=
models
.
TextField
(
null
=
True
,
verbose_name
=
'Description'
),
),
migrations
.
AlterField
(
model_name
=
'polygon'
,
name
=
'json_info'
,
field
=
models
.
TextField
(
verbose_name
=
'JSON Info'
),
),
migrations
.
AlterField
(
model_name
=
'polygon'
,
name
=
'source'
,
field
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
verbose_name
=
'Source'
),
),
migrations
.
AlterField
(
model_name
=
'polygon'
,
name
=
'wkt_polygon'
,
field
=
models
.
TextField
(
null
=
True
),
),
]
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