Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91756349
0020_auto_20210414_1230.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 14, 03:45
Size
1 KB
Mime Type
text/x-python
Expires
Sat, Nov 16, 03:45 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22319314
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
0020_auto_20210414_1230.py
View Options
# Generated by Django 3.1.4 on 2021-04-14 10:30
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'django_api'
,
'0019_auto_20210407_1029'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Cost_factor_type'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
300
)),
],
),
migrations
.
RemoveField
(
model_name
=
'term'
,
name
=
'cost_factor'
,
),
migrations
.
CreateModel
(
name
=
'Cost_factor'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'amount'
,
models
.
IntegerField
()),
(
'symbol'
,
models
.
CharField
(
max_length
=
10
)),
(
'description'
,
models
.
CharField
(
max_length
=
300
)),
(
'cost_factor_type'
,
models
.
ManyToManyField
(
to
=
'django_api.Cost_factor_type'
)),
],
),
migrations
.
AddField
(
model_name
=
'term'
,
name
=
'cost_factor'
,
field
=
models
.
ManyToManyField
(
to
=
'django_api.Cost_factor'
),
),
]
Event Timeline
Log In to Comment