You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
correction-tp-rails/db/migrate/20230326131540_create_creat...

11 lines
191 B

class CreateCreatures < ActiveRecord::Migration[7.0]
def change
create_table :creatures do |t|
t.string :name
t.integer :health_points
t.timestamps
end
end
end