Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CEVI Migrations Probleme #41

Closed
amaierhofer opened this issue Dec 16, 2019 · 0 comments
Closed

CEVI Migrations Probleme #41

amaierhofer opened this issue Dec 16, 2019 · 0 comments
Assignees

Comments

@amaierhofer
Copy link
Contributor

amaierhofer commented Dec 16, 2019

Mit dem aktuellen Produktionsdump hatte ich folgendes Migrations Problem

== 20190423122721 CreateDoorkeeperTables: migrating ===========================
-- create_table(:oauth_applications)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Table 'oauth_applications' already exists: CREATE TABLE `oauth_applications` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL, `uid` varchar(255) NOT NULL, `secret` varchar(255) NOT NULL, `redirect_uri` text NOT NULL, `scopes` varchar(255) DEFAULT '' NOT NULL, `confidential` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
/home/ama/dev/pzl/hitobito/hitobito/db/migrate/20190423122721_create_doorkeeper_tables.rb:3:in `change'

Laut db:migrate:status ist die Migration noch nicht gelaufen, die Tabelle existiert aber bereits

  down    20190423122721  Create doorkeeper tables

Diese Problem muss vor dem nächsten Produktions Release behoben werden, damit der Release sauber durchlaufen kann.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants