Sha256: 8762beeacf4d3f49b4772e9c29caad7f6b6dcb69e07342ab5bd2fee71fdcf8df

Contents?: true

Size: 435 Bytes

Versions: 3

Compression:

Stored size: 435 Bytes

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 rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

unless User.exists?
  User.create!(name: "admin", password: Settings.default_password)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluentd-ui-0.1.2 db/seeds.rb
fluentd-ui-0.1.1 db/seeds.rb
fluentd-ui-0.1.0 db/seeds.rb