mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 00:58:02 +00:00
Change codeblock language to ruby in latest TIL
This commit is contained in:
@@ -14,7 +14,7 @@ table.
|
|||||||
This can be specified by including `id: :bigint` as an option to the
|
This can be specified by including `id: :bigint` as an option to the
|
||||||
`create_table` method.
|
`create_table` method.
|
||||||
|
|
||||||
```rails
|
```ruby
|
||||||
class CreatePosts < ActiveRecord::Migration[8.0]
|
class CreatePosts < ActiveRecord::Migration[8.0]
|
||||||
def change
|
def change
|
||||||
create_table :posts, id: :bigint do |t|
|
create_table :posts, id: :bigint do |t|
|
||||||
|
|||||||
Reference in New Issue
Block a user