6 lines
142 B
Ruby
6 lines
142 B
Ruby
class AddStatusToArticles < ActiveRecord::Migration[7.1]
|
|
def change
|
|
add_column :articles, :status, :string, default: "public"
|
|
end
|
|
end
|