mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Update migration
This commit is contained in:
parent
6c62edb593
commit
18836975ca
1 changed files with 7 additions and 5 deletions
|
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
class AddUtmParametersToUsers < ActiveRecord::Migration[8.0]
|
class AddUtmParametersToUsers < ActiveRecord::Migration[8.0]
|
||||||
def change
|
def change
|
||||||
add_column :users, :utm_source, :string
|
safety_assured do
|
||||||
add_column :users, :utm_medium, :string
|
add_column :users, :utm_source, :string
|
||||||
add_column :users, :utm_campaign, :string
|
add_column :users, :utm_medium, :string
|
||||||
add_column :users, :utm_term, :string
|
add_column :users, :utm_campaign, :string
|
||||||
add_column :users, :utm_content, :string
|
add_column :users, :utm_term, :string
|
||||||
|
add_column :users, :utm_content, :string
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue