13 lines
213 B
Ruby
13 lines
213 B
Ruby
|
|
class CreatePosts < ActiveRecord::Migration[8.1]
|
||
|
|
def change
|
||
|
|
create_table :posts do |t|
|
||
|
|
t.string :title
|
||
|
|
t.text :body
|
||
|
|
t.string :mood
|
||
|
|
t.text :music
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|