mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-08 18:06:43 +01:00
10 lines
207 B
Ruby
10 lines
207 B
Ruby
|
class CreateBlogs < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :blogs do |t|
|
||
|
t.timestamps null: false
|
||
|
t.text :title, null: false
|
||
|
t.text :body, null: false
|
||
|
end
|
||
|
end
|
||
|
end
|