Template of a custom feed generator service for the Bluesky network in Ruby
1class AddMissingLimits < ActiveRecord::Migration[6.1]
2 def up
3 change_table :posts do |t|
4 t.change :repo, :string, limit: 60, null: false
5 t.change :rkey, :string, limit: 16, null: false
6 end
7 end
8
9 def down
10 change_table :posts do |t|
11 t.change :repo, :string, null: false
12 t.change :rkey, :string, null: false
13 end
14 end
15end