Sha256: f18effca4a456e5d847945c17301d7b1e5017e95d095fa3b1fd93f3a7c7b2d40

Contents?: true

Size: 263 Bytes

Versions: 5

Compression:

Stored size: 263 Bytes

Contents

class CreateLogErrors < ActiveRecord::Migration[5.1]
  def change
    create_table :log_errors do |t|
      t.belongs_to :log_error_type, index: true, null: false, foreign_key: true

      t.datetime :date
      t.text :value

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
digital_heroes_startkit-0.1.1.4 lib/generators/project/db/migrate/61_create_log_errors.rb
digital_heroes_startkit-0.1.1.3 lib/generators/project/db/migrate/61_create_log_errors.rb
digital_heroes_startkit-0.1.1.2 lib/generators/project/db/migrate/61_create_log_errors.rb
digital_heroes_startkit-0.1.1.1 lib/generators/project/db/migrate/61_create_log_errors.rb
digital_heroes_startkit-0.1.1 lib/generators/project/db/migrate/61_create_log_errors.rb