mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 17:43:03 +03:00
10d0ec0448
added usage of cli
30 lines
527 B
SQL
30 lines
527 B
SQL
create foreign table public.subscriptions (
|
|
id text,
|
|
customer text,
|
|
currency text,
|
|
current_period_start timestamp,
|
|
current_period_end timestamp,
|
|
attrs jsonb
|
|
)
|
|
server stripe_server
|
|
options (
|
|
object 'subscriptions',
|
|
rowid_column 'id'
|
|
);
|
|
|
|
|
|
create foreign table public.products (
|
|
id text,
|
|
name text,
|
|
active bool,
|
|
default_price text,
|
|
description text,
|
|
created timestamp,
|
|
updated timestamp,
|
|
attrs jsonb
|
|
)
|
|
server stripe_server
|
|
options (
|
|
object 'products',
|
|
rowid_column 'id'
|
|
); |