12 lines
246 B
Ruby
12 lines
246 B
Ruby
class CreatePlans < ActiveRecord::Migration[7.2]
|
|
def change
|
|
create_table :plans do |t|
|
|
t.string :title
|
|
t.integer :pb_product_key
|
|
t.references :employer, null: false, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|