Change attribute name to content

This commit is contained in:
Ryan W
2021-12-16 14:32:18 -08:00
parent 9cf88160e1
commit ff87f2c67e
6 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ class CreateArticles < ActiveRecord::Migration[7.0]
def change
create_table :articles do |t|
t.string :title
t.text :text
t.text :content
t.timestamps
end