As an alternative, if you are using WeeWX v4.5, you can just use the
utility wee_database with the --rename-column
<http://www.weewx.com/docs/utilities.htm#Action_--rename-column> option.

*wee_database --rename-column=old_name --to-name=new_name*

This has the advantage that it directly alters the database, so it is very
fast.

Make a backup first.

On Mon, May 3, 2021 at 5:11 AM engolling <[email protected]> wrote:

>
> Hello,
>
> I have an existing WeeWx Database with following signals I generated
> myself: "Snow_Heigt", "AQM_PM10_0", etc...
> With WeeWx 4 some of my signals were introduced as default and I would
> like to moove my scheme to the default for compatibility reasons with skins
> and so on.
>
> I would therefore just rename my "old" columns to the new default name
> (and delete the default comlums if available".
> Adjust my old schemes that it is compatible angain an then
>
>    - *Reconfigure the Database: wee_database weewx.conf --reconfigure*
>    - *Rebuild the daily tables: wee_database weewx.conf --rebuild-daily*
>
> Do you think there is anythink else to take into account? I would like to
> do it right the first time, since my Database has already 600MB it might
> take a while ;)
>
> Regards,
> engolling
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/5ff06bd8-d3bd-459f-84aa-d3f65f1ab9bcn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/5ff06bd8-d3bd-459f-84aa-d3f65f1ab9bcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECzcFHvWb2woKWkcQJ-6r8rCz_NRfhnRh8wJfuhjaLGPg%40mail.gmail.com.

Reply via email to