data_importer/db/migrate/20220411174826_create_github_users.rb

14 lines
316 B
Ruby

class CreateGithubUsers < ActiveRecord::Migration[7.0]
def change
create_table :github_users do |t|
t.string :github_id
t.string :login
t.string :name
t.string :avatar_url
t.string :bio
t.text :bio_html
t.string :location
t.jsonb :repositories
end
end
end