add api key
This commit is contained in:
@ -9,6 +9,7 @@ class CreateGames < ActiveRecord::Migration[8.0]
|
||||
t.integer :high_roll
|
||||
t.integer :low_roll
|
||||
t.integer :payout
|
||||
t.string :client
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
10
db/migrate/20250124201602_create_api_keys.rb
Normal file
10
db/migrate/20250124201602_create_api_keys.rb
Normal file
@ -0,0 +1,10 @@
|
||||
class CreateApiKeys < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :api_keys do |t|
|
||||
t.string :key
|
||||
t.string :client
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user