Sha256: c423f8d73de6c6df9b905e09a54029fc8e33ecd00a6c6f2cc756a5ab3c4b8918

Contents?: true

Size: 226 Bytes

Versions: 19

Compression:

Stored size: 226 Bytes

Contents

class CreatePet < ActiveRecord::Migration[7.0]
  def change
    create_table :pets do |t|
      t.string :name
      t.date :date_of_birth
      t.string :animal
      t.integer :owner_id

      t.timestamps
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
active_element-0.0.31 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.30 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.29 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.28 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.27 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.26 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.24 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.23 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.22 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.21 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.19 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.18 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.17 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.16 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.15 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.14 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.13 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.12 example_app/db/migrate/20230616210539_create_pet.rb
active_element-0.0.11 example_app/db/migrate/20230616210539_create_pet.rb