Sha256: 2837611f6816c6bfc967a71d49c2faf07b57259646cf57473a48ba2aea3f00a7

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
#   Character.create(name: 'Luke', movie: movies.first)


# WitAiParseModel.create(wit_ai_client_token: ENV["WIT_CLIENT_TOKEN"], wit_ai_server_token: ENV['WIT_SERVER_TOKEN'])

FileSystem.create(
    description: 'Local', machine_readable_identifier: 'local'
)

FileSystem.create(
    description: 'Dropbox', machine_readable_identifier: 'dropbox'
)

FileSystem.create(
    description: 'Github', machine_readable_identifier: 'github'
)

# Task.create(
#     reward: 50,
#     title: 'Uncover 50 president names of housing communities across Norway',
#     briefing: "Each uncovered president must be at least 5 minutes of car travel time away from all previously uncovered ones. You'll be presented a map with PDF documents about housing communities which are already located on a map. Then you need to find the names of the presidents in the PDF documents. Bonus: Find the name in a second PDF document, to verify it's spelling and validity.",
#     cta_copy: 'Show geographical map'
# )


ActiveRecord::Base.connection.execute(
        "INSERT INTO banal_complexes (id, weight, parent_id, name, created_at, updated_at) VALUES (0, 0, 1, \'Root\', \'#{Time.now}\', \'#{Time.now}\')"
    )
ActiveRecord::Base.connection.execute(
        "INSERT INTO banal_complexes (id, weight, parent_id, name, created_at, updated_at) VALUES (1, 0, 0, \'?\', \'#{Time.now}\', \'#{Time.now}\')"
    )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jester-data-8.0.0 db/seeds.rb