mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
11 lines
262 B
Ruby
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
|