mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
12 lines
196 B
Ruby
12 lines
196 B
Ruby
class CreateBlogs < ActiveRecord::Migration
|
|
def change
|
|
create_table :blogs do |t|
|
|
t.string :title
|
|
t.text :content
|
|
t.string :thumbnail
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|