updatse
This commit is contained in:
parent
8a19a733d6
commit
52ef924f12
28 changed files with 577 additions and 170 deletions
|
@ -1,2 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE users;
|
||||
drop table users;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS users
|
||||
create table if not exists users
|
||||
(
|
||||
id VARCHAR(24) DEFAULT nanoid(24),
|
||||
name VARCHAR(255) NOT NULL,
|
||||
email VARCHAR(255) NOT NULL,
|
||||
password TEXT NOT NULL,
|
||||
id varchar(24) default nanoid(24),
|
||||
name varchar(255) not null,
|
||||
email varchar(255) not null,
|
||||
password text not null,
|
||||
|
||||
updated_at TIMESTAMP,
|
||||
created_at TIMESTAMP DEFAULT now() NOT NULL,
|
||||
updated_at timestamp,
|
||||
created_at timestamp default now() not null,
|
||||
|
||||
PRIMARY KEY (id)
|
||||
primary key (id)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue