Initial commit
This commit is contained in:
6
db/migrate/20200413124619_add_token_to_broadcasts.rb
Normal file
6
db/migrate/20200413124619_add_token_to_broadcasts.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddTokenToBroadcasts < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :broadcasts, :token, :string
|
||||
add_index :broadcasts, :token, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user