Updating to WeeWX V4 and changing your schema are two different things.
They have nothing to do with each other. Version 4 offers a new schema, but
it is used only for new databases.

If for some reason you wish to change schemas and use the new schema, you
can do so using either WeeWX V3 or V4. Follow the directions in the
section *Adding
a new type to the database
<http://www.weewx.com/docs/customizing.htm#archive_database>* in the
Customizing Guide, except skip step #1, and in step #2 change this

[DataBindings]
    [[wx_binding]]
        database = archive_sqlite
        table_name = archive
        manager = weewx.wxmanager.DaySummaryManager
        schema = user.electricity.electricity_schema

to this

[DataBindings]
    [[wx_binding]]
        database = archive_sqlite
        table_name = archive
        manager = weewx.wxmanager.DaySummaryManager
        schema = schemas.wview_extended.schema

-tk


On Sat, May 9, 2020 at 4:41 AM Andrea <[email protected]> wrote:

> Hi all,
> To install new weewx 4.0 with the new DB schema, I need to modify my old
> DB schema with my old data?  I've sqllite db.
>
> Thanks
> Andrea
>
> --
> 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/1dd6b51f-9e7a-40dd-b054-9eaa25520aea%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/1dd6b51f-9e7a-40dd-b054-9eaa25520aea%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/CAPq0zEACk4Q_J3F8zPEYQmDCRqt7OjXyfjb77g092LcUO3taZw%40mail.gmail.com.

Reply via email to