"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cloudkitty/rating/hash/db/sqlalchemy/models.py" between
cloudkitty-16.0.0.tar.gz and cloudkitty-17.0.0.tar.gz

About: OpenStack CloudKitty provides Rating-as-a-Service for OpenStack.
The "Zed" series (latest release).

models.py  (cloudkitty-16.0.0):models.py  (cloudkitty-17.0.0)
skipping to change at line 228 skipping to change at line 228
sqlalchemy.Integer, sqlalchemy.Integer,
primary_key=True) primary_key=True)
mapping_id = sqlalchemy.Column( mapping_id = sqlalchemy.Column(
sqlalchemy.String(36), sqlalchemy.String(36),
nullable=False, nullable=False,
unique=True) unique=True)
value = sqlalchemy.Column( value = sqlalchemy.Column(
sqlalchemy.String(255), sqlalchemy.String(255),
nullable=True) nullable=True)
cost = sqlalchemy.Column( cost = sqlalchemy.Column(
sqlalchemy.Numeric(30, 28), sqlalchemy.Numeric(40, 28),
nullable=False) nullable=False)
map_type = sqlalchemy.Column( map_type = sqlalchemy.Column(
sqlalchemy.Enum( sqlalchemy.Enum(
'flat', 'flat',
'rate', 'rate',
name='enum_map_type', create_constraint=True), name='enum_map_type', create_constraint=True),
nullable=False) nullable=False)
service_id = sqlalchemy.Column( service_id = sqlalchemy.Column(
sqlalchemy.Integer, sqlalchemy.Integer,
sqlalchemy.ForeignKey( sqlalchemy.ForeignKey(
skipping to change at line 306 skipping to change at line 306
sqlalchemy.Integer, sqlalchemy.Integer,
primary_key=True) primary_key=True)
threshold_id = sqlalchemy.Column( threshold_id = sqlalchemy.Column(
sqlalchemy.String(36), sqlalchemy.String(36),
nullable=False, nullable=False,
unique=True) unique=True)
level = sqlalchemy.Column( level = sqlalchemy.Column(
sqlalchemy.Numeric(20, 8), sqlalchemy.Numeric(20, 8),
nullable=True) nullable=True)
cost = sqlalchemy.Column( cost = sqlalchemy.Column(
sqlalchemy.Numeric(30, 28), sqlalchemy.Numeric(40, 28),
nullable=False) nullable=False)
map_type = sqlalchemy.Column( map_type = sqlalchemy.Column(
sqlalchemy.Enum( sqlalchemy.Enum(
'flat', 'flat',
'rate', 'rate',
name='enum_hashmap_type', create_constraint=True), name='enum_hashmap_type', create_constraint=True),
nullable=False) nullable=False)
service_id = sqlalchemy.Column( service_id = sqlalchemy.Column(
sqlalchemy.Integer, sqlalchemy.Integer,
sqlalchemy.ForeignKey( sqlalchemy.ForeignKey(
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)