New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.5] Add user accounts to import/export #7306

Merged
merged 1 commit into from Jan 23, 2018

Conversation

Projects
None yet
2 participants
@GawainLynch
Contributor

GawainLynch commented Jan 21, 2018

Give this a bit of a kick around before we merge.

__bolt_export_meta:
    date: '2018-01-21T15:16:17+00:00'
    version: 3.5.0
    platform: sqlite
__users:
    -
        id: 1
        username: gawain
        password: $2y$08$deadb33f
        email: gawain.lynch@gmail.com
        displayname: 'Gawain Lynch'
        enabled: true
        roles:
            - root
            - everyone
pages: {  }
entries: {  }
showcases: {  }
blocks: {  }

@bolt bolt deleted a comment from Nitpick-CI Jan 21, 2018

@bolt bolt deleted a comment from Nitpick-CI Jan 21, 2018

@bolt bolt deleted a comment from Nitpick-CI Jan 21, 2018

$export = [];
foreach ($users as $user) {
$export = Bag::from($user->toArray())

This comment has been minimized.

@bobdenotter

bobdenotter Jan 22, 2018

Member

should be $export[]

This comment has been minimized.

@GawainLynch

GawainLynch Jan 23, 2018

Contributor

Le derp

@bobdenotter

Works like a charm now! 👏

@bobdenotter bobdenotter merged commit e35cdd9 into bolt:3.5 Jan 23, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@GawainLynch GawainLynch deleted the GawainLynch:feature/user-import-export branch Jan 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment