11 lines
178 B
Ruby
11 lines
178 B
Ruby
|
class CreateArticles < ActiveRecord::Migration[7.1]
|
||
|
def change
|
||
|
create_table :articles do |t|
|
||
|
t.string :title
|
||
|
t.text :body
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|