Merge pull request #24 from medChiboub/patch-1
Adding not null to name attribute in the "tag" table
This commit is contained in:
commit
940b4e961e
@ -31,7 +31,7 @@ create table follows (
|
||||
|
||||
create table tags (
|
||||
id varchar(255) primary key,
|
||||
name varchar(255)
|
||||
name varchar(255) not null
|
||||
);
|
||||
|
||||
create table article_tags (
|
||||
@ -46,4 +46,4 @@ create table comments (
|
||||
user_id varchar(255),
|
||||
created_at TIMESTAMP NOT NULL,
|
||||
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user