You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
203 B
11 lines
203 B
class CreatePosts < ActiveRecord::Migration[8.1]
|
|
def change
|
|
create_table :posts do |t|
|
|
t.string :title
|
|
t.integer :quantity
|
|
t.string :content
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|