11 lines
178 B
Ruby
11 lines
178 B
Ruby
|
|
class CreateArticles < ActiveRecord::Migration[7.0]
|
||
|
|
def change
|
||
|
|
create_table :articles do |t|
|
||
|
|
t.string :title
|
||
|
|
t.text :text
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|