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

10 lines
187 B
Ruby
Raw Normal View History

2017-10-30 01:44:23 +00:00
# frozen_string_literal: true
class CreateArticlesTable < ActiveRecord::Migration[7.0]
2017-10-30 01:44:23 +00:00
def change
create_table :articles do |t|
t.string :name, null: false
end
end
end