Merge branch 'standalone_develop' into pm_project_develop

This commit is contained in:
2024-09-12 09:21:10 +08:00
48 changed files with 440 additions and 64 deletions

View File

@@ -0,0 +1,10 @@
class CreateHomeTopSettings < ActiveRecord::Migration[5.2]
def change
create_table :home_top_settings, options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8' do |t|
t.references :user
t.references :top, polymorphic: true, index: true
t.timestamps
end
end
end

View File

@@ -0,0 +1,6 @@
class AddForkProjectOwnerIdentifierToPullRequests < ActiveRecord::Migration[5.2]
def change
add_column :pull_requests, :fork_project_owner, :string
add_column :pull_requests, :fork_project_identifier, :string
end
end

View File

@@ -0,0 +1,5 @@
class AddPositionToLicenses < ActiveRecord::Migration[5.2]
def change
add_column :licenses, :position, :integer, default: 0
end
end