rename table, add fields to link table
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class RenameCodeHarborLinksToCodeharborLinks < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
rename_table :code_harbor_links, :codeharbor_links
|
||||
end
|
||||
end
|
@@ -0,0 +1,7 @@
|
||||
class AddPushUrlClientIdClientSecretToCodeharborLinks < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :codeharbor_links, :push_url, :string
|
||||
add_column :codeharbor_links, :client_id, :string
|
||||
add_column :codeharbor_links, :client_secret, :string
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user