Commit graph

120 commits

Author SHA1 Message Date
e1eb0d037b Remove some data migrations 2023-01-02 22:18:52 -08:00
5404618b2f Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 22:13:36 -08:00
cb810b3fd5 Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 22:12:05 -08:00
c92756b81f
Merge pull request #34 from jedmund/controller-refactor
Refactor GridWeaponsController and models for validation
2023-01-02 21:56:48 -08:00
626ead7dfa Update 20230102160350_migrate_limit_to_boolean.rb 2023-01-02 21:52:24 -08:00
2485a52a76 Update seeds
Data is still dirty with bad ATK data across objects
2023-01-02 16:25:35 -08:00
b3cc5a5432 Update schema and data_schema 2023-01-02 15:59:07 -08:00
5a0a03c2b7 Add more character mod fields
Ring and earring support
2023-01-02 15:58:57 -08:00
253678f693 Add transcendence_step to GridWeapons and GridSummons
This will allow the user to set the level of their transcendence for Eternals and Bahamut
2023-01-02 15:58:40 -08:00
b46b1fbfd2 Set defaults on summons
Summon FLB, ULB and max_level don't have defaults and can be null, which is bad
2023-01-02 15:58:12 -08:00
0c4ed3e157 Add XLB (Transcendence) to Summons
Thanks, Bahamut
2023-01-02 15:57:48 -08:00
cfe667ac4e Change AX on Weapons to boolean
Moves current column to `ax_type` but we will probably remove it and do series-based matching on the client
2023-01-02 15:57:29 -08:00
a6c43d5f57 Change limit on Weapons/Summons to boolean 2023-01-02 15:56:54 -08:00
a8c8653aa9 Add default values to Weapon level and skill level 2022-12-25 21:46:27 -08:00
e9dbc36f2a Add default value to theme in user table 2022-12-25 16:11:51 -08:00
383d59703f Add theme to user table and blueprint 2022-12-25 16:01:40 -08:00
1c197d9b6b Loose schema.rb file 2022-12-24 15:08:27 -08:00
4f4d9e27a7 Add slug to weapon key table 2022-12-23 23:31:34 -08:00
bb0e596e0d Add awakening boolean to canonical weapons 2022-12-21 00:48:18 -08:00
c14b2eac82 Add awakening to weapons and characters 2022-12-21 00:41:54 -08:00
b1c6930121 Add base_job so we can track base skills 2022-12-03 11:43:27 -08:00
8e5571265f Add job skills to database 2022-12-01 04:46:24 -08:00
b41a67df30 Add job skills table 2022-11-27 14:12:16 -08:00
a76bda993f Add character_id field to character table
This is used for deduping characters so users can't add two of the same character to a grid.
2022-11-17 02:26:15 -08:00
ba632af5e7 Add gender to user database 2022-04-10 13:25:57 -07:00
1eec816111 Add order to jobs 2022-03-22 03:40:52 -07:00
ae99019f64 Rename classes to jobs because reserved words 2022-03-22 02:55:56 -07:00
5c40bd144c Completely unrelated cleanup migrations 2022-03-22 02:30:05 -07:00
f7e6afb1dc Add class and master level support to db 2022-03-22 02:29:54 -07:00
1f3ba2307f Add pagination for collections 2022-03-14 19:42:29 -07:00
ff85de2f86 Add counter cache for number of weapons in a party 2022-03-14 18:20:12 -07:00
29b533d104 Update search routes to use POST instead of GET 2022-03-09 11:02:32 -08:00
0661b5a50d Add GIN indexes to canonical object tables 2022-03-08 17:43:27 -08:00
039bf85227 Add slug to raids table
This is for URL query params
2022-03-06 05:50:51 -08:00
e7099b2d34 Add element to user
The bg color for pictures
2022-03-04 03:56:20 -08:00
840dbeb697 Update field nullable and default value 2022-03-04 01:33:39 -08:00
c78a28c676 Add new fields to user object 2022-03-04 01:17:04 -08:00
1b28de1bda Add order to WeaponKey
There is a specific order for keys in game, so we want to mirror that.
2022-03-03 01:31:04 -08:00
e7e0cd790b Add cols for supporting Granblue weapon mechanics
Added:
- Weapon Key 3
- AX Modifier and Strength
- Perpetuity (on Characters)
- Slot and Group on WeaponKeys
2022-03-01 23:19:28 -08:00
ac12d4cda3 Add migration to create Favorites table 2022-02-27 19:03:21 -08:00
f5a4afc01d Begrudgingly adding an element field to parties
Also added it in the JSON template
2022-02-26 20:44:16 -08:00
a04a1cb5c8 Fix bug with wrong key when creating party 2022-02-26 18:25:54 -08:00
49c8f55b6c Add element to raids for sorting and fix raid id 2022-02-26 15:59:33 -08:00
3cb18aa8ef Add group to raids
This is so that we can group them easier on the front end instead of receiving a long list
2022-02-23 19:04:12 -08:00
6175c909ee Add new fields to parties table and raids table 2022-02-23 18:00:12 -08:00
e5ef3dc528 Update schema.rb 2022-02-23 16:30:27 -08:00
15b72c43c6 GridCharacter wasn't using UUID keys for some reason 2022-02-23 13:49:09 -08:00
818a756f28 Removed max_level
Somehow my ULB column became max_level at some point, all fixed now
2022-02-04 02:10:39 -08:00
3eeb013126 Add ULB to Characters
How was this not here???
2022-02-04 01:26:00 -08:00
5bbeed54ea Add special field for non-standard story SR characters 2022-02-01 17:08:46 -08:00
e982dec63d Update schema.rb 2022-01-30 00:10:10 -08:00
bb79360b6c Delete 20220128183506_remove_limit_group_from_weapons.rb 2022-01-29 21:01:41 -08:00
709da5c76f Latest database additions 2022-01-28 21:22:45 -08:00
ce08887c4e Update schema.rb 2022-01-25 16:55:03 -08:00
68661c02f6 Update schemas for game updates
Extra weapon slots, Subauras, and limiting weapons in grid.
2022-01-25 16:54:29 -08:00
eda5c5cc4e Update schema.rb 2021-10-27 08:37:37 -07:00
3919dfdd37 Update schema.rb 2020-10-19 04:05:15 -07:00
1e8e311286 Make granblue_id a string
Character IDs are out of range for integer
2020-10-19 04:01:15 -07:00
33cd9a9ce1 Add migrations and seed data for Characters 2020-10-19 03:48:22 -07:00
bbe7254512 Update schema.rb 2020-10-18 22:25:47 -07:00
0b167863eb Update seeds with summons 2020-10-18 22:25:44 -07:00
132f676e2a Add Summon and GridSummons model and controllers 2020-10-18 22:24:28 -07:00
7dcd298fc7 Update migrations
Fixed User table and added Doorkeeper tables
2020-09-25 10:42:12 -07:00
86bbe3a7d1 Update schema.rb 2020-09-16 03:39:29 -07:00
932c82d219 Add seeds and weapons.csv 2020-09-16 03:39:17 -07:00
1fdd0017b3 Update grid weapon table
Add `mainhand`
Fix `belongs_to` by changing to `references`
2020-09-16 03:26:22 -07:00
7a104a50d4 Update parties table
Remove `characters`, `weapons` and `summons`
Rename `hash` to `shortcode`
Fix `belongs_to` by changing to `references`
2020-09-16 03:23:27 -07:00
dd0a2d5844 Remove uuid-ossp extension 2020-09-16 03:22:38 -07:00
a535091b64 Use pgcrypto for uuids 2020-09-16 03:20:27 -07:00
f616fe23db Restart on Rails 2020-09-14 18:30:54 -07:00