Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
humanities
gargantext
Commits
4fd5dec5
Commit
4fd5dec5
authored
Apr 03, 2015
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Init for fresh database need date default set.
parent
3a5d6b08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
init.sh
init/init.sh
+1
-0
init2.sql
init/init2.sql
+4
-0
No files found.
init/init.sh
View file @
4fd5dec5
...
@@ -4,6 +4,7 @@ psql -d gargandb -f init.sql
...
@@ -4,6 +4,7 @@ psql -d gargandb -f init.sql
sleep
2
sleep
2
../manage.py syncdb
../manage.py syncdb
psql
-d
gargandb
-f
init2.sql
psql
-d
gargandb
-f
init2.sql
...
...
init/init2.sql
0 → 100644
View file @
4fd5dec5
ALTER
TABLE
ONLY
node_node
ALTER
COLUMN
date
SET
DEFAULT
CURRENT_DATE
;
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