mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-22 16:38:21 +00:00
4 lines
268 B
Ruby
4 lines
268 B
Ruby
|
|
org = Organization.create(name: 'My organization')
|
|
user = User.create(first_name: 'The', last_name: 'Developer', email: 'dev@tooljet.io', password: 'password', organization: org)
|
|
OrganizationUser.create(user: user, organization: org, role: 'admin', status: 'active')
|