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

13 lines
329 B
MySQL
Raw Normal View History

2022-11-04 18:40:14 +01:00
CREATE TABLE public.account_addresses (
id integer 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,
account_id integer,
is_default boolean DEFAULT false NOT NULL,
phone text DEFAULT ''::text NOT NULL
);