13 lines
224 B
Ruby
13 lines
224 B
Ruby
|
class CreateStories < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :stories do |t|
|
||
|
t.string :picture
|
||
|
t.string :header
|
||
|
t.text :text
|
||
|
t.date :happened
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|