add submmited by in tags
This commit is contained in:
parent
5e07a75fc8
commit
93bd5fb3e9
@ -91,10 +91,10 @@ CREATE TABLE locations(
|
||||
CREATE TABLE tags (
|
||||
"id" serial primary key not null,
|
||||
"name" varchar(50) not null,
|
||||
"target_id" integer,
|
||||
"tags_type" varchar(20),
|
||||
"created_at" timestamp default(now()),
|
||||
"updated_at" timestamp default(now())
|
||||
"submitted_by" integer references "users"("id") not null,
|
||||
"target_id" integer, -- location_id, story_id
|
||||
"tags_type" varchar(20), -- locations, stories
|
||||
"approved_by" integer references "users"("id") not null
|
||||
);
|
||||
|
||||
CREATE TABLE location_images (
|
||||
|
Loading…
Reference in New Issue
Block a user