Remove primary key from staff spell intermediary table

merge-requests/36/head
Brian Haley 2019-08-24 17:05:27 -04:00
parent d07facda3e
commit ff5b6d59a6
2 changed files with 0 additions and 24 deletions

View File

@ -71,141 +71,118 @@ INSERT INTO staff_spell (
VALUES VALUES
-- Anmial Staff -- -- Anmial Staff --
( (
1,
1, 1,
-- know direction --, -- know direction --,
0 0
), ),
( (
2,
1, 1,
-- magic fang --, -- magic fang --,
1 1
), ),
( (
3,
1, 1,
-- summon animal --, -- summon animal --,
1 1
), ),
-- Animal Staff (Greater) -- Animal Staff (Greater)
( (
4,
2, 2,
-- know direction --, -- know direction --,
0 0
), ),
( (
5,
2, 2,
-- magic fang --, -- magic fang --,
1 1
), ),
( (
6,
2, 2,
-- summon animal --, -- summon animal --,
1 1
), ),
( (
7,
2, 2,
-- animal messenger --, -- animal messenger --,
2 2
), ),
( (
8,
2, 2,
-- speak with animals --, -- speak with animals --,
2 2
), ),
( (
9,
2, 2,
-- summon animal --, -- summon animal --,
2 2
), ),
( (
10,
2, 2,
-- animal form --, -- animal form --,
3 3
), ),
( (
11,
2, 2,
-- summon animal --, -- summon animal --,
3 3
), ),
-- Animal Staff (Major) -- Animal Staff (Major)
( (
12,
3, 3,
-- know direction --, -- know direction --,
0 0
), ),
( (
13,
3, 3,
-- magic fang --, -- magic fang --,
1 1
), ),
( (
14,
3, 3,
-- summon animal --, -- summon animal --,
1 1
), ),
( (
15,
3, 3,
-- animal messenger --, -- animal messenger --,
2 2
), ),
( (
16,
3, 3,
-- speak with animals --, -- speak with animals --,
2 2
), ),
( (
17,
3, 3,
-- summon animal --, -- summon animal --,
2 2
), ),
( (
18,
3, 3,
-- animal form --, -- animal form --,
3 3
), ),
( (
19,
3, 3,
-- summon animal --, -- summon animal --,
3 3
), ),
( (
20,
3, 3,
-- summon animal --, -- summon animal --,
4 4
), ),
( (
21,
3, 3,
-- animal form --, -- animal form --,
5 5
), ),
( (
22,
3, 3,
-- moon frenzy --, -- moon frenzy --,
5 5
) )
( (
23,
3, 3,
-- summon animal --, -- summon animal --,
5 5

View File

@ -23,7 +23,6 @@ CREATE TABLE staff (
); );
CREATE TABLE staff_spell ( CREATE TABLE staff_spell (
staff_spell_id INTEGER PRIMARY KEY NOT NULL,
staff_id INTEGER NOT NULL, staff_id INTEGER NOT NULL,
spell_id INTEGER NOT NULL, spell_id INTEGER NOT NULL,
"level" INTEGER NOT NULL, -- This represents the level of the spell in the staff where 0 = cantrip -- "level" INTEGER NOT NULL, -- This represents the level of the spell in the staff where 0 = cantrip --