feat: implement basic fairy tracker
This commit is contained in:
parent
1e46ad269e
commit
8109bacb0d
27 changed files with 290 additions and 7 deletions
|
@ -8,5 +8,7 @@ class CreateInstances < ActiveRecord::Migration[8.0]
|
|||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :instances, :public_id
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
class CreateFairies < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :fairies do |t|
|
||||
t.integer :location
|
||||
t.string :location
|
||||
t.boolean :is_despawned
|
||||
t.boolean :is_suggested
|
||||
t.references :instance, null: false, foreign_key: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue