Skip to content

Commit

Permalink
remove location from agent with rename entites
Browse files Browse the repository at this point in the history
  • Loading branch information
ElhamFadel committed Oct 25, 2021
1 parent 1b5cda9 commit dc4e28a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/database/config/bulid.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ CREATE TABLE admins(
CREATE TABLE agents(
id SERIAL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
email VARCHAR(255) UNIQUE,
email VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL,
phone VARCHAR(255) NOT NULL UNIQUE,
image TEXT,
location VARCHAR(255) NOT NULL,
password VARCHAR(255) NOT NULL
avater TEXT

);
CREATE TABLE estates(
id SERIAL PRIMARY KEY,
Expand Down

0 comments on commit dc4e28a

Please sign in to comment.