0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 18:01:48 +08:00
discourse/plugins/discourse-github/db/migrate/20190618174229_create_github_repos.rb
2025-07-22 15:07:59 +02:00

11 lines
281 B
Ruby
Vendored

# frozen_string_literal: true
class CreateGithubRepos < ActiveRecord::Migration[5.2]
def change
create_table :github_repos do |t|
t.string :name, null: false, limit: 255
t.timestamps null: false
end
add_index :github_repos, :name, unique: true
end
end