Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 2939-orgs
Conflicts: ckan/logic/auth/get.py ckan/logic/auth/publisher/get.py ckan/templates/header.html ckan/tests/functional/api/test_activity.py simple enough merge conflicts
- Loading branch information
Showing
23 changed files
with
983 additions
and
452 deletions.
There are no files selected for viewing
This file contains 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 file contains 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 file contains 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 file contains 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 file contains 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 file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from sqlalchemy import * | ||
from migrate import * | ||
|
||
def upgrade(migrate_engine): | ||
metadata = MetaData() | ||
metadata.bind = migrate_engine | ||
migrate_engine.execute(''' | ||
CREATE TABLE dashboard ( | ||
user_id text NOT NULL, | ||
activity_stream_last_viewed timestamp without time zone NOT NULL | ||
); | ||
ALTER TABLE dashboard | ||
ADD CONSTRAINT dashboard_pkey PRIMARY KEY (user_id); | ||
ALTER TABLE dashboard | ||
ADD CONSTRAINT dashboard_user_id_fkey FOREIGN KEY (user_id) REFERENCES "user"(id) ON UPDATE CASCADE ON DELETE CASCADE; | ||
''') |
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,6 +149,9 @@ | |
DomainObjectOperation, | ||
DomainObject, | ||
) | ||
from dashboard import ( | ||
Dashboard, | ||
) | ||
|
||
import ckan.migration | ||
|
||
|
Oops, something went wrong.