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: 20210708160127_create_models.rb
    path of file: ./repos/gitclub/backends/rails/db/migrate
    
    the code of the file until where you have to start completion: class CreateModels < ActiveRecord::Migration[6.1]
  def change
    create_table :orgs do |t|
      t.string :name, null: false, index: { unique: true }
      t.string :base_repo_role
      t.string :billing_address

      t.timestamps
    end

    create_table :users do |t|
      t.string :email, null: false, index: { unique: true }

      t.timestamps
    end

    create_table :repos do |t|
      t.string :name
      t.references :org, null: false, foreign_key: true

      t.timestamps
    end
    add_index :repos, [:name, :org_id]

    create_table :issues do |t|
      t.string :title
      t.boolean :closed, null: false, default: false
      t
    
  def change
    create_table :orgs do |t|
      t.string :name, null: false, index: { unique: true }
      t.string :base_repo_role
      t.string :billing_address

      t.timestamps
    end

    create_table :users do |t|
      t.string :email, null: false, index: { unique: true }

      t.timestamps
    end

    create_table :repos do |t|
      t.string :name
      t.references :org, null: false, foreign_key: true

      t.timestamps
    end
    add_index :repos, [:name, :org_id]

    create_table :issues do |t|
      t.string :title
      t.boolean :closed, null: false, default: false
      t.references :repo, null: false, foreign_key: true
      t.references :creator, foreign_key: {to_table: :users}
      t.timestamps
    end
  end