Replace individual Rust migration modules with a define_sql_migrations macro that reads up/down SQL files via include_str!. Consolidate all legacy single-file SQL into per-table directories and add full schema migration coverage for 90+ tables.
11 lines
350 B
SQL
11 lines
350 B
SQL
create table if not exists project_billing
|
|
(
|
|
project_uuid uuid not null
|
|
primary key,
|
|
balance numeric default 0.0 not null,
|
|
currency text not null,
|
|
user_uuid uuid,
|
|
updated_at timestamp with time zone not null,
|
|
created_at timestamp with time zone not null
|
|
);
|