Create migration, add option to model and install Active Record
From Task/3_create_database_migration into master
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
deleted source branch
task/3_create_database_migrationToggle commit list -
db/migrate/20210706092623_cities_jobs.rb 0 → 100644
1 class CitiesJobs < ActiveRecord::Migration[6.1] 2 def change -
Master
sao migration này không có nội dung vậy em? Tương tự với cái này luôn nhé
db/migrate/20210706092449_industries_jobs.rbhttps://guides.rubyonrails.org/association_basics.html#the-has-and-belongs-to-many-association
-
-
-
app/models/company.rb 0 → 100644
1 class Company < ApplicationRecord 2 has_many :jobs -
Master
em chạy rubocop thì bị bắt thêm options
dependentmà ta?https://guides.rubyonrails.org/association_basics.html#dependent
-
-
-
app/models/user.rb 0 → 100644
1 class User < ApplicationRecord 2 has_many :apply_jobs -
Master
em chạy rubocop thì bị bắt thêm options
dependentmà ta?https://guides.rubyonrails.org/association_basics.html#dependent
Tương tự với những has_many khác nhé.
-
-
-
Toggle commit list
-
merged
Toggle commit list