Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91297669
0009_auto_20210319_1438.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
Sat, Nov 9, 18:50
Size
2 KB
Mime Type
text/x-python
Expires
Mon, Nov 11, 18:50 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22238545
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
0009_auto_20210319_1438.py
View Options
# Generated by Django 3.1.4 on 2021-03-19 13:38
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'django_api'
,
'0008_term'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Agreement'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
300
)),
],
),
migrations
.
CreateModel
(
name
=
'ConditionSet'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
],
),
migrations
.
CreateModel
(
name
=
'ConditionType'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
300
)),
],
),
migrations
.
CreateModel
(
name
=
'OrganizationCondition'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'valid_from'
,
models
.
DateField
(
verbose_name
=
'Date'
)),
(
'valid_until'
,
models
.
DateField
(
verbose_name
=
'Date'
)),
(
'condition_set'
,
models
.
ManyToManyField
(
to
=
'django_api.ConditionSet'
)),
(
'organization'
,
models
.
ManyToManyField
(
to
=
'django_api.Institution'
)),
],
),
migrations
.
AddField
(
model_name
=
'conditionset'
,
name
=
'condition_type'
,
field
=
models
.
ManyToManyField
(
to
=
'django_api.ConditionType'
),
),
migrations
.
AddField
(
model_name
=
'conditionset'
,
name
=
'term'
,
field
=
models
.
ManyToManyField
(
to
=
'django_api.Term'
),
),
migrations
.
AddField
(
model_name
=
'term'
,
name
=
'agreements'
,
field
=
models
.
ManyToManyField
(
to
=
'django_api.Agreement'
),
),
]
Event Timeline
Log In to Comment