class CreateCodes

typed: true

Public Instance Methods

change() click to toggle source
# File server/redux-os/db/migrate/20190827180754_create_codes.rb, line 3
def change
  create_table :codes do |t|
    t.string :github_link
    t.string :gist_link
    t.references :code_links, null: false, foreign_key: true

    t.timestamps
  end
end