1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-02-17 08:03:53 -05:00
tootlab-mastodon/db/migrate/20180711152640_create_relays.rb

13 lines
288 B
Ruby
Raw Normal View History

class CreateRelays < ActiveRecord::Migration[5.2]
def change
create_table :relays do |t|
t.string :inbox_url, default: '', null: false
t.boolean :enabled, default: false, null: false, index: true
t.string :follow_activity_id
t.timestamps
end
end
end