data_importer/db/migrate/20220411174826_create_github_users.rb

17 lines
347 B
Ruby
Raw Normal View History

2022-04-19 02:37:27 -05:00
# frozen_string_literal: true
2022-04-11 18:45:02 -05:00
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
2022-04-11 18:45:02 -05:00
end
end
end