Bump rails to 5.2 and update rubocop
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateGuests < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_table :guests do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateActiveAdminComments < ActiveRecord::Migration::Current
|
||||
def self.up
|
||||
create_table :active_admin_comments do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddGuestInfo < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
enable_extension('citext')
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreatePlusOnes < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_table :plus_ones do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class SimplifyDiet < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
change_table :guests do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddGuestNotes < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
change_table :guests do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddFirstNameLastNameToGuest < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
change_table :guests do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddFirstNameLastNameToPlusOne < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
change_table :plus_ones do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddConfirmedAtToGuests < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
change_table :guests do |t|
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CreateAttendees < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_view :attendees
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# This file should contain all the record creation needed to seed the database with its default values.
|
||||
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
|
||||
#
|
||||
|
Reference in New Issue
Block a user