bazzar/crates/account_manager/migrations/202204131842_addresses.sql

14 lines
516 B
MySQL
Raw Normal View History

2022-11-29 15:18:31 +01:00
CREATE TABLE public.account_addresses
(
id serial NOT NULL,
name text NOT NULL,
email text NOT NULL,
street text NOT NULL,
city text NOT NULL,
country text NOT NULL,
zip text NOT NULL,
2022-11-04 18:40:14 +01:00
account_id integer,
2022-11-29 15:18:31 +01:00
is_default boolean DEFAULT false NOT NULL,
phone text DEFAULT ''::text NOT NULL
2022-11-04 18:40:14 +01:00
);