Class: Meetings
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- Meetings
- Defined in:
- lib/generators/meeting/install/templates/create_meetings.rb
Overview
- CURRENT FILE
-
lib/generators/meeting/templates/migration.rb
Copyright © 2012 Jarkko Moilanen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact: [email protected]
Class Method Summary collapse
Class Method Details
.down ⇒ Object
38 39 40 |
# File 'lib/generators/meeting/install/templates/create_meetings.rb', line 38 def self.down drop_table :meetings end |
.up ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/generators/meeting/install/templates/create_meetings.rb', line 22 def self.up create_table :meetings do |t| t.string :title t.string :startTime t.string :endTime t.text :content t.string :logsurl t.string :murl t.string :channel t.datetime :meetingdate t.string :meetingyear t.string :meetingmonth t. end end |