Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
workbiu-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gxx
workbiu-admin
Commits
adb160a9
Commit
adb160a9
authored
Dec 12, 2017
by
gxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改database中的 file 和folders
parent
41670a08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
2017_09_06_072230_create_files_table.php
database/migrations/2017_09_06_072230_create_files_table.php
+2
-0
2017_09_07_032619_create_folders_table.php
...ase/migrations/2017_09_07_032619_create_folders_table.php
+2
-1
No files found.
database/migrations/2017_09_06_072230_create_files_table.php
View file @
adb160a9
...
...
@@ -22,6 +22,8 @@ class CreateFilesTable extends Migration
$table
->
unsignedInteger
(
'group_id'
)
->
nullable
();
$table
->
unsignedInteger
(
'owner_id'
);
$table
->
unsignedInteger
(
'creator_id'
);
$table
->
string
(
'Bucket'
,
191
);
$table
->
string
(
'pointer'
,
191
);
$table
->
softDeletes
();
$table
->
timestamps
();
});
...
...
database/migrations/2017_09_07_032619_create_folders_table.php
View file @
adb160a9
...
...
@@ -18,7 +18,8 @@ class CreateFoldersTable extends Migration
$table
->
string
(
'name'
);
$table
->
unsignedInteger
(
'parent_id'
);
$table
->
unsignedInteger
(
'creator_id'
);
$table
->
unsignedInteger
(
'owner_id'
);
$table
->
unsignedInteger
(
'group_id'
);
$table
->
unsignedInteger
(
'project_id'
);
$table
->
softDeletes
();
$table
->
timestamps
();
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment