Add proper twitch url migration (#2561)
* Add proper twitch url migration * Change schema version
This commit is contained in:
parent
1578befdf1
commit
a711e2246e
3 changed files with 6 additions and 2 deletions
|
|
@ -5,6 +5,5 @@ class AddSocialIconsToUser < ActiveRecord::Migration[5.1]
|
|||
add_column :users, :linkedin_url, :string
|
||||
add_column :users, :behance_url, :string
|
||||
add_column :users, :dribbble_url, :string
|
||||
add_column :users, :twitch_url, :string
|
||||
end
|
||||
end
|
||||
|
|
|
|||
5
db/migrate/20190425210432_add_twitch_url_to_users.rb
Normal file
5
db/migrate/20190425210432_add_twitch_url_to_users.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddTwitchUrlToUsers < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :users, :twitch_url, :string
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2019_04_17_171020) do
|
||||
ActiveRecord::Schema.define(version: 2019_04_25_210432) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue