capsul-flask/capsulflask/schema_migrations/07_up_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-xs', '5.00', '1', '512', '500');
UPDATE vm_sizes SET dollars_per_month = '7.50' WHERE id = 'f1-s';
2020-06-05 18:23:24 +00:00
UPDATE vm_sizes SET memory_mb = '1024' WHERE id = 'f1-s';
UPDATE vm_sizes SET vcpus = '1' WHERE id = 'f1-s';
UPDATE vm_sizes SET bandwidth_gb_per_month = '1000' WHERE id = 'f1-s';
UPDATE vm_sizes SET dollars_per_month = '12.50' WHERE id = 'f1-m';
2020-06-05 18:23:24 +00:00
UPDATE vm_sizes SET memory_mb = '2048' WHERE id = 'f1-m';
UPDATE vm_sizes SET vcpus = '1' WHERE id = 'f1-m';
UPDATE vm_sizes SET bandwidth_gb_per_month = '2000' WHERE id = 'f1-m';
UPDATE vm_sizes SET dollars_per_month = '20.00' WHERE id = 'f1-l';
2020-06-05 18:23:24 +00:00
UPDATE vm_sizes SET memory_mb = '3072' WHERE id = 'f1-l';
UPDATE vm_sizes SET vcpus = '2' WHERE id = 'f1-l';
UPDATE vm_sizes SET bandwidth_gb_per_month = '3000' WHERE id = 'f1-l';
UPDATE vm_sizes SET dollars_per_month = '27.50' WHERE id = 'f1-x';
UPDATE vm_sizes SET memory_mb = '4096' WHERE id = 'f1-x';
UPDATE vm_sizes SET vcpus = '3' WHERE id = 'f1-x';
UPDATE vm_sizes SET bandwidth_gb_per_month = '4000' WHERE id = 'f1-x';
UPDATE vm_sizes SET dollars_per_month = '50.00' 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 = '5000' WHERE id = 'f1-xx';
UPDATE vms SET size = 'f1-xs' WHERE size = 'f1-s';
UPDATE vms SET size = 'f1-s' WHERE size = 'f1-m';
UPDATE vms SET size = 'f1-m' WHERE size = 'f1-l';
UPDATE vms SET size = 'f1-l' WHERE size = 'f1-x';
UPDATE vms SET size = 'f1-x' WHERE size = 'f1-xx';
UPDATE vms SET size = 'f1-xx' WHERE size = 'f1-xxx';
DELETE FROM vm_sizes WHERE id = 'f1-xxx';
UPDATE schemaversion SET version = 7;