mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-16 13:38:41 +00:00
Set the default organization user's status to active in the seed script (#242)
This commit is contained in:
parent
2a0867608f
commit
d5d3c8e81e
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
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')
|
||||
OrganizationUser.create(user: user, organization: org, role: 'admin', status: 'active')
|
||||
|
|
|
|||
Loading…
Reference in a new issue