Skip to content

create base sql file and dump also data? #38

@trta911

Description

@trta911

At first, thank you for awesome piece of work! This is exactly I was looking for. Simple, ellegant and powerfull.

So to my problem: I would like to create base.sql with data from my mysql and after inspection of your classess I found nothing like that, only creation of empty base.sql with "-- Put here your base SQL" :-) Is there some function? Something like "createBaseSqlSnapshot" -> function that dump structure as "initial" version.

If there is no such mechanism to make snapshot of your current database and save it to "base.sql" maybe there is option to add that function.

And second question, If I have some codebooks and I would like the data also make versioned is this possible? Like some configuration function that tells what table(s) be dumped with data and make "truncate codebook" command + "insert into codebook"

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions