Change attribute name to content
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user