--up
    ALTER TABLE activity RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE activity ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE composer_choices RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE composer_choices ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE composer_requests RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE composer_requests ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE conductor_requests RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE conductor_requests ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE devices RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE devices ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE migrations RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE migrations ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE presets RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE presets ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE sample_packs RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE sample_packs ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE samples RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE samples ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE service_quotas RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE service_quotas ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE subscription_updates RENAME COLUMN "timestamp" TO "created_at";
    ALTER TABLE subscription_updates ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();
    
    ALTER TABLE voice_conversion_model_training_runs ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();

    ALTER TABLE voice_conversion_models ADD COLUMN "updated_at" timestamp NOT NULL DEFAULT NOW();


--down
    ALTER TABLE activity RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE activity DROP COLUMN "updated_at";
    
    ALTER TABLE composer_choices RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE composer_choices DROP COLUMN "updated_at";

    ALTER TABLE composer_requests RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE composer_requests DROP COLUMN "updated_at";

    ALTER TABLE conductor_requests RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE conductor_requests DROP COLUMN "updated_at";

    ALTER TABLE devices RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE devices DROP COLUMN "updated_at";

    ALTER TABLE migrations RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE migrations DROP COLUMN "updated_at";

    ALTER TABLE presets RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE presets DROP COLUMN "updated_at";

    ALTER TABLE sample_packs RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE sample_packs DROP COLUMN "updated_at";

    ALTER TABLE samples RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE samples DROP COLUMN "updated_at";

    ALTER TABLE service_quotas RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE service_quotas DROP COLUMN "updated_at";

    ALTER TABLE subscription_updates RENAME COLUMN "created_at" TO "timestamp";
    ALTER TABLE subscription_updates DROP COLUMN "updated_at";

    ALTER TABLE voice_conversion_model_training_runs DROP COLUMN "updated_at";

    ALTER TABLE voice_conversion_models DROP COLUMN "updated_at";
