Class: CreateTramwayConferenceUnities

Inherits:
Object
  • Object
show all
Defined in:
lib/tramway/conference/generates/templates/create_tramway_conference_unities.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/tramway/conference/generates/templates/create_tramway_conference_unities.rb', line 4

def change
  create_table :tramway_conference_unities do |t|
    t.text :title
    t.text :tagline

    t.text :logo

    t.text :address
    t.text :phone

    t.text :latitude
    t.text :longtitude

    t.text :state, default: :active
    t.text :view_state, default: :hidden

    t.timestamps
  end
end