blob: a2a42e787aeb6ae0616e61af09e105e0579ae84f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class CreateSearches < ActiveRecord::Migration[7.1]
def change
create_table :searches do |t|
t.string :name
t.string :body
t.references :user, null: false, foreign_key: true
t.timestamps
end
end
end
|