You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 019_create_teams_users.rb
    path of file: ./repos/expertiza/db/migrate
    
    the code of the file until where you have to start completion: class CreateTeamsUsers < ActiveRecord::Migration[4.2]
  def self.up
    create_table 'teams_users', force: true do |t|
      t.column 'team_id', :integer
      t.column 'user_id', :integer
    end

    add_index 'teams_users', ['team_id'], name: '
    
  def self.up
    create_table 'teams_users', force: true do |t|
      t.column 'team_id', :integer
      t.column 'user_id', :integer
    end

    add_index 'teams_users', ['team_id'], name: 'fk_users_teams'

    execute "alter table teams_users
               add constraint fk_users_teams
               foreign key (team_id) references teams(id)"

    add_index 'teams_users', ['user_id'], name: 'fk_teams_users'

    execute "alter table teams_users
               add constraint fk_teams_users
               foreign key (user_id) references users(id)"
  end