Sha256: 219863ba689833dcb716b6d2b60cd308d0071379244102c78274febedeb998cc

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

module SqlMigrations
  # Seed class
  #
  class Seed < SqlScript
    def self.find(db_name)
      super(db_name, :seed)
    end

    def to_s
      "Seed data #{@name} for `#{@db_name}` database, datetime: #{@date + @time}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sql_migrations-2.1.1 lib/sql_migrations/seed.rb
sql_migrations-2.1.0 lib/sql_migrations/seed.rb
sql_migrations-2.1.0.pre3 lib/sql_migrations/seed.rb