Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mobildata-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
btomi96
mobildata-server
Commits
6daafe53
Commit
6daafe53
authored
7 years ago
by
Tamas Bunth
Browse files
Options
Downloads
Patches
Plain Diff
No need to create separate table for user
parent
aeaeddc2
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
readme.md
+0
-2
0 additions, 2 deletions
readme.md
src/main/resources/schema.sql
+1
-16
1 addition, 16 deletions
src/main/resources/schema.sql
with
1 addition
and
18 deletions
readme.md
+
0
−
2
View file @
6daafe53
...
...
@@ -65,5 +65,3 @@ You need Java and maven installed. Build & run the server with the following com
mvn spring-boot:run
For the first run, you may have to uncomment
`spring.jpa.generate-ddl=true`
and comment out
`spring.jpa.hibernate.ddl-auto=create-drop`
This diff is collapsed.
Click to expand it.
src/main/resources/schema.sql
+
1
−
16
View file @
6daafe53
...
...
@@ -21,18 +21,3 @@ create table "user" (
device_type
VARCHAR
(
255
),
primary
key
(
id
)
);
\ No newline at end of file
create
table
"user_user"
(
"user_id"
int8
not
null
,
"follows_id"
int8
not
null
);
alter
table
"user_user"
add
constraint
FKl0s7rdd5k82i0xbgm2igjaetj
foreign
key
(
"follows_id"
)
references
"user"
;
alter
table
"user_user"
add
constraint
FK8w8vorfaxyv2c87ga05luvkls
foreign
key
(
"user_id"
)
references
"user"
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment