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

H2Data don't support multiple tables #16

Closed
caarlos0 opened this issue Nov 30, 2014 · 9 comments
Closed

H2Data don't support multiple tables #16

caarlos0 opened this issue Nov 30, 2014 · 9 comments

Comments

@caarlos0
Copy link

Suppose I want to create two tables that somehow relate to each other. Current H2Data implementation only allows one table to be created using the with method:

new H2Data().with("users", new String[] {"name"}, new String[0])

I believe that a good fit would be something like:

new H2Data()
  .with("users", new String[] {"name"}, new String[0])
  .with("tenants", new String[] {"id"}, new String[0])
  .get() // or done() or build() or something else
@dmarkov
Copy link

dmarkov commented Dec 1, 2014

this task will get someone's attention soon

@dmarkov
Copy link

dmarkov commented Dec 1, 2014

@yegor256 it's yours, budget is 30 mins, please go ahead

@dmarkov
Copy link

dmarkov commented Dec 1, 2014

many thanks, 15 mins added to your acc for reporting this bug, pmt ID AP-0KC69794337700908

@yegor256
Copy link
Member

yegor256 commented Dec 1, 2014

@rultor release, tag is 0.18.1

@rultor
Copy link
Contributor

rultor commented Dec 1, 2014

@rultor release, tag is 0.18.1

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Dec 1, 2014

@rultor release, tag is 0.18.1

@yegor256 Done! FYI, the full log is here (took me 16min)

@yegor256
Copy link
Member

yegor256 commented Dec 1, 2014

@caarlos0 take a look, works for you?

@caarlos0
Copy link
Author

caarlos0 commented Dec 1, 2014

Yeah, thanks @yegor256 !

@caarlos0 caarlos0 closed this as completed Dec 1, 2014
@dmarkov
Copy link

dmarkov commented Dec 5, 2014

@yegor256 I just added 30 mins to your account, many thanks for your contribution..

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

No branches or pull requests

4 participants