mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
remove event_old drop
This commit is contained in:
parent
dba44a4f93
commit
c875096aa7
@ -20,7 +20,6 @@
|
|||||||
- The primary key for the `website` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
- The primary key for the `website` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||||||
- You are about to alter the column `website_id` on the `website` table. The data in that column could be lost. The data in that column will be cast from `UnsignedInt` to `UnsignedBigInt`.
|
- You are about to alter the column `website_id` on the `website` table. The data in that column could be lost. The data in that column will be cast from `UnsignedInt` to `UnsignedBigInt`.
|
||||||
- You are about to alter the column `user_id` on the `website` table. The data in that column could be lost. The data in that column will be cast from `UnsignedInt` to `UnsignedBigInt`.
|
- You are about to alter the column `user_id` on the `website` table. The data in that column could be lost. The data in that column will be cast from `UnsignedInt` to `UnsignedBigInt`.
|
||||||
- You are about to drop the `_event_old` table. If the table is not empty, all the data it contains will be lost.
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
-- DropForeignKey
|
-- DropForeignKey
|
||||||
@ -81,9 +80,6 @@ ALTER TABLE `website` DROP PRIMARY KEY,
|
|||||||
MODIFY `user_id` BIGINT UNSIGNED NOT NULL,
|
MODIFY `user_id` BIGINT UNSIGNED NOT NULL,
|
||||||
ADD PRIMARY KEY (`website_id`);
|
ADD PRIMARY KEY (`website_id`);
|
||||||
|
|
||||||
-- DropTable
|
|
||||||
DROP TABLE `_event_old`;
|
|
||||||
|
|
||||||
-- AddForeignKey
|
-- AddForeignKey
|
||||||
ALTER TABLE `event` ADD CONSTRAINT `event_ibfk_2` FOREIGN KEY (`session_id`) REFERENCES `session`(`session_id`) ON DELETE CASCADE ON UPDATE NO ACTION;
|
ALTER TABLE `event` ADD CONSTRAINT `event_ibfk_2` FOREIGN KEY (`session_id`) REFERENCES `session`(`session_id`) ON DELETE CASCADE ON UPDATE NO ACTION;
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
- The primary key for the `pageview` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
- The primary key for the `pageview` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||||||
- The primary key for the `session` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
- The primary key for the `session` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||||||
- The primary key for the `website` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
- The primary key for the `website` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||||||
- You are about to drop the `_event_old` table. If the table is not empty, all the data it contains will be lost.
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
-- DropForeignKey
|
-- DropForeignKey
|
||||||
@ -76,9 +75,6 @@ ALTER SEQUENCE pageview_view_id_seq AS BIGINT;
|
|||||||
ALTER SEQUENCE session_session_id_seq AS BIGINT;
|
ALTER SEQUENCE session_session_id_seq AS BIGINT;
|
||||||
ALTER SEQUENCE website_website_id_seq AS BIGINT;
|
ALTER SEQUENCE website_website_id_seq AS BIGINT;
|
||||||
|
|
||||||
-- DropTable
|
|
||||||
DROP TABLE "_event_old";
|
|
||||||
|
|
||||||
-- AddForeignKey
|
-- AddForeignKey
|
||||||
ALTER TABLE "event" ADD CONSTRAINT "event_session_id_fkey" FOREIGN KEY ("session_id") REFERENCES "session"("session_id") ON DELETE CASCADE ON UPDATE CASCADE;
|
ALTER TABLE "event" ADD CONSTRAINT "event_session_id_fkey" FOREIGN KEY ("session_id") REFERENCES "session"("session_id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user