mirror of
https://0xacab.org/sutty/sutty
synced 2024-06-27 18:26:09 +00:00
10 lines
240 B
Ruby
10 lines
240 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Agregarle un nombre a la estadística
|
|
class AddNameToStats < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_column :stats, :name, :string, null: false
|
|
add_index :stats, :name, using: 'hash'
|
|
end
|
|
end
|