mirror of
				https://github.com/arcan1s/ffxivbis.git
				synced 2025-10-30 21:23:41 +00:00 
			
		
		
		
	fix column names
This commit is contained in:
		| @ -0,0 +1 @@ | |||||||
|  | alter table parties rename column player_id to party_id; | ||||||
| @ -0,0 +1,11 @@ | |||||||
|  | create table parties_new ( | ||||||
|  |     party_id integer primary key autoincrement, | ||||||
|  |     party_name text not null, | ||||||
|  |     party_alias text); | ||||||
|  | insert into parties_new select player_id, party_name, party_alias from parties; | ||||||
|  |  | ||||||
|  | drop index parties_party_name_idx; | ||||||
|  | drop table parties; | ||||||
|  |  | ||||||
|  | alter table parties_new rename to parties; | ||||||
|  | create unique index parties_party_name_idx on parties(party_name); | ||||||
		Reference in New Issue
	
	Block a user