Sha256: 1d860e6688d32b53d223e080588acd1cbc3223a003a324a36dd34fb771edfa60

Contents?: true

Size: 475 Bytes

Versions: 2

Compression:

Stored size: 475 Bytes

Contents

class CreateBravos < ActiveRecord::Migration[6.0]
  def change
    create_table :bravos do |t|
      t.boolean :a_boolean, default: false, null: false
      t.integer :an_integer, null: false
      t.decimal :a_decimal, null: false
      t.string :a_string, null: false
      t.integer :a_unique_value
      t.string :a_string_from_options
      t.integer :an_integer_from_options
      t.string :an_absent_value
      t.string :a_regex

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dirty_seed-0.1.8 spec/dummy/db/migrate/20200923100328_create_bravos.rb
dirty_seed-0.1.7 spec/dummy/db/migrate/20200923100328_create_bravos.rb