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
CREATE TABLE instructors (
id SERIAL PRIMARY KEY,
first_name VARCHAR(60) NOT NULL,
last_name VARCHAR(120) NOT NULL,
full_name VARCHAR(255) GENERATED ALWAYS AS (first_name || ' ' || last_name) STORED,
);
CREATE TABLE lessons (
id SERIAL PRIMARY KEY,
instructor_id INTEGER REFERENCES instructors(id),
status VARCHAR(20),
);
When I try to create some data, it will fail because internally the data may get generated outside the max 20-character limit imposed by the lesson status field.
Lets say I have a schema:
// schema.sql
When I try to create some data, it will fail because internally the data may get generated outside the max 20-character limit imposed by the lesson
status
field.I can get around the lesson status by defining my own mods, its a bit tedious but certainly not a roadblock.
The text was updated successfully, but these errors were encountered: