meh.

Results 126 comments of meh.

What Erlang version? I've never seen this kind of error before.

That shouldn't be an issue, the actual module name inside the defdatabase gets prefixed with the database module name, so they don't collide. But now that you point that out...

I don't remember the details, but this has to do with macros. Basically `deftable` is a macro, and the passed `name` is unquoted, so it tries to call a `name/0`...

Sounds good to me, go for it :+1:

How would that function be used?

@matehat released a new version.

You should use the version from github, I haven't published this as a package yet.

Did you create the database after creating the schema? What's your creation code?

Sadly no, all examples I have are private stuff I can't share. Anyway, if what you have there is the code, please use `create!` instead of `create`, or check the...