-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Imagine:
CREATE TABLE post(
id integer primary key,
title text
);
CREATE TABLE tag(
id integer primary key,
title text
);
CREATE TABLE post_tag(
post_id integer references post(id),
tag_id integer references tag(id),
primary key(post_id, tag_id)
);
Or:
CREATE TABLE post(
id integer primary key,
title text
);
CREATE TABLE post_tag(
post_id integer not null references post(id),
tag text not null,
primary key(post_id, tag)
);
Is there a way this can fit into the editing model such that the user sees a list of tags when looking at /db/post/1
?
The currently proposal would have the user go to /db/post
to create the post, go to /db/tag
to create the tags, then go to /db/post_tag
and create new records. It works, but is very clunky.
Metadata
Metadata
Assignees
Labels
No labels