Format imported code
This commit is contained in:
parent
eb88f76fb8
commit
5774b2463a
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Group < ApplicationRecord
|
class Group < ApplicationRecord
|
||||||
belongs_to :matches
|
belongs_to :matches
|
||||||
belongs_to :teams
|
belongs_to :teams
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class GroupStage < ApplicationRecord
|
class GroupStage < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Match < ApplicationRecord
|
class Match < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class PlayoffStage < ApplicationRecord
|
class PlayoffStage < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Team < ApplicationRecord
|
class Team < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class CreateGroups < ActiveRecord::Migration[5.2]
|
class CreateGroups < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
create_table :groups do |t|
|
create_table :groups do |t|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class CreateGroupStages < ActiveRecord::Migration[5.2]
|
class CreateGroupStages < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
create_table :group_stages do |t|
|
create_table :group_stages do |t|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class CreateMatches < ActiveRecord::Migration[5.2]
|
class CreateMatches < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
create_table :matches do |t|
|
create_table :matches do |t|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class CreatePlayoffStages < ActiveRecord::Migration[5.2]
|
class CreatePlayoffStages < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
create_table :playoff_stages do |t|
|
create_table :playoff_stages do |t|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class CreateTeams < ActiveRecord::Migration[5.2]
|
class CreateTeams < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
create_table :teams do |t|
|
create_table :teams do |t|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class GroupStageTest < ActiveSupport::TestCase
|
class GroupStageTest < ActiveSupport::TestCase
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class GroupTest < ActiveSupport::TestCase
|
class GroupTest < ActiveSupport::TestCase
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class MatchTest < ActiveSupport::TestCase
|
class MatchTest < ActiveSupport::TestCase
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class PlayoffStageTest < ActiveSupport::TestCase
|
class PlayoffStageTest < ActiveSupport::TestCase
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class TeamTest < ActiveSupport::TestCase
|
class TeamTest < ActiveSupport::TestCase
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue