Skip to content

Commit

Permalink
a small mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Predoiu committed Sep 21, 2022
1 parent ef734c1 commit 2b05bb6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions internal/resource/resource_database_row.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"time"
)

const databaseRowResourceName = "sn_application"
const DatabaseRowResourceName = "sn_application"

// TODO
func databaseRowResource() *schema.Resource {
func DatabaseRowResource() *schema.Resource {
return &schema.Resource{
Schema: RowSchema,
SchemaVersion: 1,
Expand Down Expand Up @@ -39,31 +39,26 @@ var RowSchema = map[string]*schema.Schema{
Description: "The unique id of the row",
Type: schema.TypeString,
Required: false,
Optional: false,
Computed: true},
"sys_updated_by": {
Description: "User that made the last update",
Type: schema.TypeString,
Required: false,
Optional: false,
Computed: true},
"sys_created_by": {
Description: "Account that created the row",
Type: schema.TypeString,
Required: false,
Optional: false,
Computed: true},
"sys_created_on": {
Description: "Creation Time",
Type: schema.TypeString,
Required: false,
Optional: false,
Computed: true},
"sys_updated_on": {
Description: "Last update Time",
Type: schema.TypeString,
Required: false,
Optional: false,
Computed: true},
"custom_columns": {
Description: "Custom columns that are not references",
Expand Down

0 comments on commit 2b05bb6

Please sign in to comment.