You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to caribou, was trying to create a Model object called "Role", which I meant as a "Role in a Story." The resulting error (in the log) shows the following attempted SQL:
The admin UI results in a blank page. Nothing seems to be borked on the backend, but I haven't dug any deeper. I've tried with other pre-existing models, same result. Basically, 'New Model' just needs a check to prevent this, or to handle this error case more cleanly.
The text was updated successfully, but these errors were encountered:
I'm new to caribou, was trying to create a Model object called "Role", which I meant as a "Role in a Story." The resulting error (in the log) shows the following attempted SQL:
DEBUG :db create table role ([:id "SERIAL" "PRIMARY KEY"] [:uuid "varchar(255)"] [:position :integer "DEFAULT 0"] [:env-id :integer "DEFAULT 1"] [:locked :boolean "DEFAULT false"] [:created-at "timestamp" "NOT NULL" "DEFAULT current_timestamp"] [:updated-at "timestamp" "NOT NULL"])
DEBUG :stacktrace >>> org.h2.jdbc.JdbcSQLException: Table "ROLE" already exists; SQL statement:
CREATE TABLE role (id SERIAL PRIMARY KEY, uuid varchar(255), position integer DEFAULT 0, env_id integer DEFAULT 1, locked boolean DEFAULT false, created_at timestamp NOT NULL DEFAULT current_timestamp, updated_at timestamp NOT NULL) [42101-170]
The admin UI results in a blank page. Nothing seems to be borked on the backend, but I haven't dug any deeper. I've tried with other pre-existing models, same result. Basically, 'New Model' just needs a check to prevent this, or to handle this error case more cleanly.
The text was updated successfully, but these errors were encountered: