rating/spec/support/db/migrate/create_articles_table.rb

10 lines
187 B
Ruby

# frozen_string_literal: true
class CreateArticlesTable < ActiveRecord::Migration[7.0]
def change
create_table :articles do |t|
t.string :name, null: false
end
end
end