Files
brokeless/supabase/migrations/0026_rule_direction.sql
T

2 lines
231 B
SQL
Raw Normal View History

-- Rules can also find by direction: money in or money out. "Moved" can then be Transfers in one way and Transfers out the other.
alter table public.rules add column if not exists direction text check (direction in ('in', 'out'));