21 lines
515 B
Ruby
21 lines
515 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: action_templates
|
|
#
|
|
# id :integer not null, primary key
|
|
# name :string(255)
|
|
# description :string(255)
|
|
# img :string(255)
|
|
# sort_no :string(255) default("0")
|
|
# json :text(65535)
|
|
# yaml :text(65535)
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
|
|
class Action::Template < ApplicationRecord
|
|
self.table_name = 'action_templates'
|
|
default_scope { order(sort_no: :asc) }
|
|
|
|
end
|