You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This chapter covers how to install SQLGate through the setup wizard.
1. To start the installation process, run SQLGateFor[Database system].exe.
2. Select a language and click [OK].
3. On **License Agreement** page, click to check "I accpet the agreement" and then click [Next].
4. On **Select Destination Location** page, choose a folder to install SQLGate for Oracle Developer. If you would like to select a different folder, click [Browse]. Then click [Next].
5. On **Select Start Menu** folder page, select a folder to place the program's shortcuts. Start Menu folder is selected as default. If you would like to select a different folder, click [Browse]. Then click [Next].
6. On **Select Additional Tasks**, select additional shortcuts. You can choose to create a shortcut on desktop and add a shortcut to a Quick Launch bar. Then click [Next].
7. Click [Install] to start installing, or click [Back] to check and change the settings. To cancel installation, click [Cancel].
8. On the last page, click [Run SQLGate]. Click [Finish] to run the program.
user_type VARCHAR(255) CHECK (user_type IN ('user', 'provider')) NOT NULL
);
-- Providers table
CREATE TABLE providers (
provider_id SERIAL PRIMARY KEY,
user_id INT REFERENCES users(user_id) NOT NULL
);
-- Portfolio items table
CREATE TABLE portfolio_items (
item_id SERIAL PRIMARY KEY,
provider_id INT REFERENCES providers(provider_id) NOT NULL,
media_type VARCHAR(255) CHECK (media_type IN ('image', 'video')) NOT NULL,
media_url VARCHAR(255) NOT NULL,
description TEXT
);
-- Provider services table
CREATE TABLE provider_services (
provider_id INT REFERENCES providers(provider_id) NOT NULL,
service_id INT REFERENCES services(service_id) NOT NULL
);
-- Placeholders table
CREATE TABLE placeholders (
placeholder_id SERIAL PRIMARY KEY,
provider_id INT REFERENCES providers(provider_id) NOT NULL,
location VARCHAR(255) NOT NULL,
images VARCHAR(255)[],
description TEXT
);
-- Services table
CREATE TABLE services (
service_id SERIAL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
description TEXT
);
-- Events table
CREATE TABLE events (
event_id SERIAL PRIMARY KEY,
provider_id INT REFERENCES providers(provider_id) NOT NULL,
title VARCHAR(255) NOT NULL,
description TEXT,
date_time TIMESTAMP NOT NULL,
location VARCHAR(255) NOT NULL
);
-- Comments table
CREATE TABLE comments (
comment_id SERIAL PRIMARY KEY,
user_id INT REFERENCES users(user_id) NOT NULL,
post_id INT REFERENCES posts(post_id),
event_id INT REFERENCES events(event_id),
content TEXT NOT NULL,
timestamp TIMESTAMP NOT NULL
);
-- Reactions table
CREATE TABLE reactions (
reaction_id SERIAL PRIMARY KEY,
user_id INT REFERENCES users(user_id) NOT NULL,
post_id INT REFERENCES posts(post_id),
event_id INT REFERENCES events(event_id),
reaction_type VARCHAR(255) NOT NULL
);
-- Followers table
CREATE TABLE followers (
follower_id INT REFERENCES users(user_id) NOT NULL,
following_id INT REFERENCES users(user_id) NOT NULL
);
-- Messages table
CREATE TABLE messages (
message_id SERIAL PRIMARY KEY,
sender_id INT REFERENCES users(user_id) NOT NULL,
receiver_id INT REFERENCES users(user_id) NOT NULL,
content TEXT NOT NULL,
timestamp TIMESTAMP NOT NULL
);
-- Posts table
CREATE TABLE posts (
post_id SERIAL PRIMARY KEY,
user_id INT REFERENCES users(user_id) NOT NULL,
content TEXT NOT NULL,
timestamp TIMESTAMP NOT NULL
);
-- Reservations table
CREATE TABLE reservations (
reservation_id SERIAL PRIMARY KEY,
user_id INT REFERENCES users(user_id) NOT NULL,
event_id INT REFERENCES events(event_id) NOT NULL,
timestamp TIMESTAMP NOT NULL
);
-- Event requests table
CREATE TABLE event_requests (
request_id SERIAL PRIMARY KEY,
user_id INT REFERENCES users(user_id) NOT NULL,
event_details TEXT NOT NULL
);
This chapter covers how to uninstall SQLGate.
-- Event teams table
CREATE TABLE event_teams (
team_id SERIAL PRIMARY KEY,
event_id INT REFERENCES events(event_id) NOT NULL,
provider_id INT REFERENCES providers(provider_id) NOT NULL
);
1. Go to **Control Panel** >**Programs and Features**.
2. Select **SQLGate**.
3. Click [Uninstall].
4. Click [Yes] on the **SQLGate Remove** window.
5. If removal is successful, you will see the following message: "SQLGate is removed." Click [OK] to complete.
> Tip: When you see a message that says, "Some items cannot be removed. You will have to remove them manually" appears when files exist in install folder. To remove completely, delete the folder created during installation.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.