-
Notifications
You must be signed in to change notification settings - Fork 197
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
Drops action_filter support #276
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ rvm: | |
- 2.4.1 | ||
|
||
env: | ||
- RAILS_VERSION=4.2 | ||
- RAILS_VERSION=5.0 | ||
- RAILS_VERSION=5.0.3 | ||
- RAILS_VERSION=5.1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateUsers < ActiveRecord::Migration | ||
class CreateUsers < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
create_table :users do |t| | ||
t.string :name | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateComments < ActiveRecord::Migration | ||
class CreateComments < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
create_table :comments do |t| | ||
t.string :name | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class AddFieldsToUsers < ActiveRecord::Migration | ||
class AddFieldsToUsers < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
add_column :users, :sash_id, :integer | ||
add_column :users, :level, :integer, :default => 0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class AddFieldsToComments < ActiveRecord::Migration | ||
class AddFieldsToComments < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
add_column :comments, :sash_id, :integer | ||
add_column :comments, :level, :integer, :default => 0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateMeritActions < ActiveRecord::Migration | ||
class CreateMeritActions < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
create_table :merit_actions do |t| | ||
t.integer :user_id # source | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateMeritActivityLogs < ActiveRecord::Migration | ||
class CreateMeritActivityLogs < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
create_table :merit_activity_logs do |t| | ||
t.integer :action_id | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateSashes < ActiveRecord::Migration | ||
class CreateSashes < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
create_table :sashes do |t| | ||
t.timestamps null: false | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateBadgesSashes < ActiveRecord::Migration | ||
class CreateBadgesSashes < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
create_table :badges_sashes do |t| | ||
t.integer :badge_id, :sash_id | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateScoresAndPoints < ActiveRecord::Migration | ||
class CreateScoresAndPoints < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def self.up | ||
create_table :merit_scores do |t| | ||
t.references :sash | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreateAddresses < ActiveRecord::Migration | ||
class CreateAddresses < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def up | ||
create_table :addresses do |t| | ||
t.references :user | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class AddTargetDataToMeritActions < ActiveRecord::Migration | ||
class AddTargetDataToMeritActions < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def change | ||
add_column :merit_actions, :target_data, :text | ||
end | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CreatePlayers < ActiveRecord::Migration | ||
class CreatePlayers < ActiveRecord::Migration[5.0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing magic comment # frozen_string_literal: true. |
||
def change | ||
create_table :players do |t| | ||
t.integer :sash_id | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!