Skip to content
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

Datomic schema transactions #122

Open
shakdwipeea opened this issue Dec 12, 2017 · 1 comment · May be fixed by #123
Open

Datomic schema transactions #122

shakdwipeea opened this issue Dec 12, 2017 · 1 comment · May be fixed by #123

Comments

@shakdwipeea
Copy link
Contributor

What would be a good place to handle schema transaction ?

In the current implementation, the database is being created and connection established. There is no functionality for creating a schema.
Ref: https://github.com/danielsz/system/blob/master/src/system/components/datomic.clj#L7

@danielsz
Copy link
Owner

danielsz commented Dec 12, 2017

Please feel free to think of a solution and submit a PR.
For example, the mongoDB component has opted for a init-fn.

_ (when init-fn (init-fn db))

@shakdwipeea shakdwipeea linked a pull request Dec 14, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants