Open lucianonooijen opened 5 years ago
@lucianonooijen did you ever find a solution to this?
Unfortunately, no
I'm a ruby noob but using your Dockerfile above as a base I think I got it working. The site loads, and seems to function fine, but I haven't done exhaustive testing.
I changed your sqlite version to be 1.4.2 although I'm not sure that matters.
In schema.rb I changed line 19 from this:
create_table "messages", id: :uuid, default: -> { "uuid_generate_v4()" }, force: :cascade do |t|
to this:
create_table "messages", id: :uuid, default: -> { "uuid_generate_v4" }, force: :cascade do |t|
I spoke too soon. It works for the first request but fails on subsequent requests with a unique constraint error which makes sense now that I think about it.
Using the Dockerfile below, the SQLite migration seems to fail:
It gives the following error: