11 lines
182 B
Ruby
11 lines
182 B
Ruby
|
|
class CreateMoods < ActiveRecord::Migration[8.0]
|
||
|
|
def change
|
||
|
|
create_table :moods do |t|
|
||
|
|
t.string :mode
|
||
|
|
t.datetime :recorded_at
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|