Files
archived-hc-harbor/db/migrate/20250514212714_create_commits.rb
2025-05-14 17:35:41 -04:00

11 lines
262 B
Ruby

class CreateCommits < ActiveRecord::Migration[8.0]
def change
create_table :commits, primary_key: :sha, id: :string do |t|
t.references :user, null: false, foreign_key: true
t.jsonb :github_raw
t.timestamps null: false
end
end
end