From d5d3c8e81e71e4e7e85ab262e495a78edca602a7 Mon Sep 17 00:00:00 2001 From: Ashish Date: Sun, 13 Jun 2021 19:25:15 +0530 Subject: [PATCH] Set the default organization user's status to active in the seed script (#242) --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index 2c9d60a218..141ca27390 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -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') \ No newline at end of file +OrganizationUser.create(user: user, organization: org, role: 'admin', status: 'active')