20161023201417_create_mastodon_clients.rb 287 B

1234567891011121314
  1. class CreateMastodonClients < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :mastodon_clients do |t|
  4. t.string :domain
  5. t.string :client_id
  6. t.string :client_secret
  7. t.timestamps
  8. end
  9. add_index :mastodon_clients, :domain, unique: true
  10. end
  11. end