Insert A Bunch Of Records With Generate Series
> insert into roles (
name,
resource_id,
resource_type,
created_at,
updated_at
)
select
'organization_user',
g.id,
'Organization',
now(),
now()
from generate_series(1,54000) as g(id);Last updated