Compare commits
No commits in common. "e122248a971b96bff4f02d4afcc5b34c37b51f7b" and "b8a901b041456edde23a9a65243712ffdb32308d" have entirely different histories.
e122248a97
...
b8a901b041
@ -11,3 +11,8 @@ CREATE TABLE `events` (
|
||||
UNIQUE KEY `slug` (`slug`),
|
||||
CONSTRAINT `events_community_id` FOREIGN KEY (`community_id`) REFERENCES `communities` (`id`)
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
|
||||
|
||||
ALTER TABLE `transactions`
|
||||
ADD `event_id` int(10) unsigned NULL,
|
||||
ADD KEY `event_id` (`event_id`) AFTER `community_id`,
|
||||
ADD CONSTRAINT `transactions_event_id` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`);
|
||||
|
@ -1,4 +0,0 @@
|
||||
ALTER TABLE `transactions`
|
||||
ADD `event_id` int(10) unsigned NULL AFTER `community_id`,
|
||||
ADD KEY `event_id` (`event_id`),
|
||||
ADD CONSTRAINT `transactions_event_id` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`);
|
Loading…
Reference in New Issue
Block a user