Fix renames that the scripts missed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
require_relative "../../config/environment"
|
||||
|
||||
BUCKETS_COUNT = 100
|
||||
BUBBLES_PER_COLLECTION = 50
|
||||
COLLECTIONS_COUNT = 100
|
||||
CARDS_PER_COLLECTION = 50
|
||||
|
||||
ApplicationRecord.current_tenant = "development-tenant"
|
||||
account = Account.first
|
||||
@@ -9,9 +9,9 @@ user = account.users.first
|
||||
Current.session = user.sessions.last
|
||||
workflow = account.workflows.first
|
||||
|
||||
BUCKETS_COUNT.times do |collection_index|
|
||||
COLLECTIONS_COUNT.times do |collection_index|
|
||||
collection = account.collections.create!(name: "Collection #{collection_index}", creator: user, workflow: workflow)
|
||||
BUBBLES_PER_COLLECTION.times do |card_index|
|
||||
CARDS_PER_COLLECTION.times do |card_index|
|
||||
collection.cards.create!(title: "Card #{card_index}", creator: user, status: :published)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user