sqm-dashboards/db/migrate/20231004191828_create_speds.rb
2023-10-06 11:41:52 -07:00

12 lines
216 B
Ruby

class CreateSpeds < ActiveRecord::Migration[7.0]
def change
create_table :speds do |t|
t.string :designation
t.string :slug
t.timestamps
end
add_index :speds, :designation
end
end