capsul-flask/capsulflask/schema_migrations/07_down_price_adjustment.sql

38 lines
1.7 KiB
MySQL
Raw Permalink Normal View History

2020-06-05 18:23:24 +00:00
INSERT INTO vm_sizes VALUES ('f1-xxx', '57.58', '8', '16384', '16000');
UPDATE vm_sizes SET dollars_per_month = '5.33' WHERE id = 'f1-s';
UPDATE vm_sizes SET memory_mb = '512' WHERE id = 'f1-s';
UPDATE vm_sizes SET vcpus = '1' WHERE id = 'f1-s';
UPDATE vm_sizes SET bandwidth_gb_per_month = '500' WHERE id = 'f1-s';
UPDATE vm_sizes SET dollars_per_month = '7.16' WHERE id = 'f1-m';
UPDATE vm_sizes SET memory_mb = '1024' WHERE id = 'f1-m';
UPDATE vm_sizes SET vcpus = '1' WHERE id = 'f1-m';
UPDATE vm_sizes SET bandwidth_gb_per_month = '1000' WHERE id = 'f1-m';
UPDATE vm_sizes SET dollars_per_month = '8.92' WHERE id = 'f1-l';
UPDATE vm_sizes SET memory_mb = '2048' WHERE id = 'f1-l';
UPDATE vm_sizes SET vcpus = '1' WHERE id = 'f1-l';
UPDATE vm_sizes SET bandwidth_gb_per_month = '2000' WHERE id = 'f1-l';
UPDATE vm_sizes SET dollars_per_month = '16.16' WHERE id = 'f1-x';
UPDATE vm_sizes SET memory_mb = '4096' WHERE id = 'f1-x';
UPDATE vm_sizes SET vcpus = '2' WHERE id = 'f1-x';
UPDATE vm_sizes SET bandwidth_gb_per_month = '4000' WHERE id = 'f1-x';
UPDATE vm_sizes SET dollars_per_month = '29.66' WHERE id = 'f1-xx';
UPDATE vm_sizes SET memory_mb = '8192' WHERE id = 'f1-xx';
UPDATE vm_sizes SET vcpus = '4' WHERE id = 'f1-xx';
UPDATE vm_sizes SET bandwidth_gb_per_month = '8000' WHERE id = 'f1-xx';
UPDATE vms SET size = 'f1-xxx' WHERE size = 'f1-xx';
UPDATE vms SET size = 'f1-xx' WHERE size = 'f1-x';
UPDATE vms SET size = 'f1-x' WHERE size = 'f1-l';
UPDATE vms SET size = 'f1-l' WHERE size = 'f1-m';
UPDATE vms SET size = 'f1-m' WHERE size = 'f1-s';
UPDATE vms SET size = 'f1-s' WHERE size = 'f1-xs';
DELETE FROM vm_sizes WHERE id = 'f1-xs';
UPDATE schemaversion SET version = 6;