Starting companies and admin
This commit is contained in:
8
db/migrate/20220208164226_create_users_and_companies.rb
Normal file
8
db/migrate/20220208164226_create_users_and_companies.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class CreateUsersAndCompanies < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :companies_users, id: false do |t|
|
||||
t.belongs_to :user
|
||||
t.belongs_to :company
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user