You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for creating this project, it's pretty awesome.
I've encountered some formatting issues though. So when I formatted, this is my result
--changeset ccushing:0004-moneycreatetablecurrency (
id uuid primary keynot null default uuid_generate_v4(),
code textnot null,
description text,
notes text,
created_at timestamp with time zone default now() not null,
created_by text default ("current_user"()) :: textnot null,
modified_at timestamp with time zone default now() not null,
modified_by text default ("current_user"()) :: textnot null,
deleted boolean default false not null,
deleted_at timestamp with time zone,
deleted_by text
);
createunique indexif not exists public_currency_idx on currency (code)
where
deleted_at is null;
createunique indexif not exists public_currency_deleted_idx on currency (code)
where
deleted is false;
createtriggert_public_currency before
updateon currency for each row execute procedure public.f_update_modified_records();
insert into currency (code)
values
('USD');
--changeset ccushing:0004-01-add-payment-methods stripComments:true
what I'd like to get is whitespace between statements and before comments, and column align types.
--changeset ccushing:0004-moneycreatetablecurrency (
id uuid primary keynot null default uuid_generate_v4(),
code textnot null,
description text,
notes text,
created_at timestamp with time zone default now() not null,
created_by text default ("current_user"()) :: textnot null,
modified_at timestamp with time zone default now() not null,
modified_by text default ("current_user"()) :: textnot null,
deleted boolean default false not null,
deleted_at timestamp with time zone,
deleted_by text
);
createunique indexif not exists public_currency_idx on currency (code)
where
deleted_at is null;
createunique indexif not exists public_currency_deleted_idx on currency (code)
where
deleted is false;
createtriggert_public_currency before
updateon currency for each row execute procedure public.f_update_modified_records();
insert into currency (code)
values
('USD');
--changeset ccushing:0004-01-add-payment-methods stripComments:true
it's worth noting before I formatted that this whitespace was in place.
it would also be nice to have the option to uppercase sql keywords
The text was updated successfully, but these errors were encountered:
I don't plan to add it here now because the extension is growing a lot and there are a lot of changes between v0.21 -> v0.22 already. So since we have an alternative for this, I'll close the issue.
Thanks for creating this project, it's pretty awesome.
I've encountered some formatting issues though. So when I formatted, this is my result
what I'd like to get is whitespace between statements and before comments, and column align types.
it's worth noting before I formatted that this whitespace was in place.
it would also be nice to have the option to uppercase sql keywords
The text was updated successfully, but these errors were encountered: